From 21d5005688cc01e45855c42e3629fa692cfbb050 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 28 Oct 2018 14:07:54 +0000 Subject: [PATCH] meson: Cleanup old FIXMEs that relied on meson changes --- tests/check/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/check/meson.build b/tests/check/meson.build index ef0f447b31..4b7f3f952c 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -1,5 +1,5 @@ -# FIXME: use dependency('valgrind') once we have a method to get the includes -if cc.has_header('valgrind/valgrind.h') +valgrind_dep = dependency('valgrind', required: false).partial_dependency(compile_args : true) +if valgrind_dep.found() cdata.set('HAVE_VALGRIND', 1) endif @@ -158,7 +158,7 @@ state_ignore_elements = '''aasink autoaudiosrc autoaudiosink autovideosrc # FIXME: check, also + PTHREAD_CFLAGS test_deps = [gst_dep, gstbase_dep, gstnet_dep, gstcheck_dep, gstaudio_dep, gstvideo_dep, gstpbutils_dep, gstrtp_dep, gstrtsp_dep, gsttag_dep, - gstapp_dep, gio_dep] + glib_deps + gstapp_dep, gio_dep, valgrind_dep] + glib_deps # FIXME: add valgrind suppression common/gst.supp gst-plugins-good.supp foreach t : good_tests