[glib: 1/2] Meson: appinfo tests are racy if run in parallel



commit 27b5fb589298d17d22ea32634a6d52b73160d0d0
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Tue Sep 25 15:14:53 2018 -0400

    Meson: appinfo tests are racy if run in parallel

 gio/tests/meson.build | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/meson.build b/gio/tests/meson.build
index 0760c5592..fb788a529 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -145,9 +145,11 @@ if host_machine.system() != 'windows'
     gio_tests += [{
       'appinfo' : {
         'install' : false,
+        'is_parallel' : false,
       },
       'desktop-app-info' : {
         'install' : false,
+        'is_parallel' : false,
       },
     }]
   endif
@@ -480,8 +482,13 @@ foreach test_dict : gio_tests
 
     suite = ['gio'] + extra_args.get('suite', [])
     timeout = suite.contains('slow') ? 120 : 30
-    test(test_name, exe, env : test_env, timeout : timeout, suite : suite,
-      args : ['--tap'])
+    test(test_name, exe,
+      env : test_env,
+      timeout : timeout,
+      suite : suite,
+      args : ['--tap'],
+      is_parallel : extra_args.get('is_parallel', true),
+    )
   endforeach
 endforeach
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]