play: Actually check for valgrind for the tests

Other tests in gst-plugins-bad also assumed it to be checked.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7650>
This commit is contained in:
Sebastian Dröge 2024-12-27 19:01:21 +02:00
parent 0464076b26
commit 13ed55f0ee

View file

@ -1,3 +1,8 @@
valgrind_dep = dependency('valgrind', required: false).partial_dependency(compile_args : true)
if valgrind_dep.found()
cdata.set('HAVE_VALGRIND', 1)
endif
have_registry = true # FIXME get_option('registry')
libparser = static_library('parser',