meson: Skip norun tests
authorArun Raghavan <arun@arunraghavan.net>
Sat, 8 Jun 2019 10:47:53 +0000 (12:47 +0200)
committerArun Raghavan <arun@arunraghavan.net>
Sat, 8 Jun 2019 10:47:53 +0000 (12:47 +0200)
These weren't meant to be run, so we skip then while generating meson
tests.

src/tests/meson.build

index b18d32e..8a9a533 100644 (file)
@@ -190,10 +190,12 @@ foreach t : default_tests + norun_tests
     link_with : extra_libs,
   )
 
-  test(name, exe,
-    env : test_env,
-    timeout : 120,
-  )
+  if default_tests.contains(t)
+    test(name, exe,
+      env : test_env,
+      timeout : 120,
+    )
+  endif
 endforeach
 
 # These tests need a running pulseaudio daemon