meson: Add some missing test dependencies
authorNirbheek Chauhan <nirbheek@centricular.com>
Sun, 28 Oct 2018 14:09:21 +0000 (14:09 +0000)
committerNirbheek Chauhan <nirbheek@centricular.com>
Sun, 28 Oct 2018 14:10:12 +0000 (14:10 +0000)
Without these dependencies, the enumtype may not be generated when the
test is built, which will cause a compile failure.

tests/icles/meson.build

index 3d75c33..77c15eb 100644 (file)
@@ -1,6 +1,6 @@
 tests = [
   ['equalizer-test'],
-  ['test-accurate-seek', gstapp_dep],
+  ['test-accurate-seek', [gstaudio_dep, gstapp_dep]],
   ['test-segment-seeks'],
   ['videocrop-test'],
   ['videobox-test'],
@@ -26,7 +26,7 @@ foreach t : tests
   test_name = t.get(0)
   extra_deps = t.get(1, [])
   executable(test_name, test_name + '.c',
-    dependencies: [gst_dep, libm, extra_deps],
+    dependencies: [gst_dep, gstbase_dep, libm, extra_deps],
     c_args : gst_plugins_good_args,
     include_directories : [configinc],
     install: false)