mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
57913a58f6
commit
2b498878ea
1 changed files with 6 additions and 1 deletions
|
@ -119,9 +119,14 @@ test_defines = [
|
||||||
'-DGST_USE_UNSTABLE_API',
|
'-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,
|
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,
|
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 = [ ]
|
pluginsdirs = [ ]
|
||||||
if gst_dep.type_name() == 'pkgconfig'
|
if gst_dep.type_name() == 'pkgconfig'
|
||||||
|
|
Loading…
Reference in a new issue