tests: actually define HAVE_VALGRIND

This stuff should probably be done differently, but
for now just define it like we used to.
This commit is contained in:
Tim-Philipp Müller 2019-12-08 01:17:31 +00:00 committed by GStreamer Merge Bot
parent 57913a58f6
commit 2b498878ea

View file

@ -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'