From: Tim-Philipp Müller Date: Sun, 8 Dec 2019 01:17:31 +0000 (+0000) Subject: tests: actually define HAVE_VALGRIND X-Git-Tag: 1.19.3~511^2~831 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b498878eae972c9d6878ef40ce4630616de7091;p=platform%2Fupstream%2Fgstreamer.git tests: actually define HAVE_VALGRIND This stuff should probably be done differently, but for now just define it like we used to. --- diff --git a/tests/check/meson.build b/tests/check/meson.build index 4a61f8e..c2b1ffe 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -119,9 +119,14 @@ test_defines = [ '-DGST_USE_UNSTABLE_API', ] +valgrind_dep = dependency('valgrind', required: false) +if valgrind_dep.found() + test_defines += ['-DHAVE_VALGRIND'] +endif + test_deps = [gst_dep, gst_base_dep, gst_net_dep, gst_check_dep, audio_dep, video_dep, pbutils_dep, rtp_dep, rtsp_dep, tag_dep, allocators_dep, app_dep, - fft_dep, riff_dep, sdp_dep, gio_dep] + glib_deps + fft_dep, riff_dep, sdp_dep, gio_dep, valgrind_dep] + glib_deps pluginsdirs = [ ] if gst_dep.type_name() == 'pkgconfig'