[glib/glib-2-58: 47/55] Meson: appinfo tests are racy if run in parallel
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-58: 47/55] Meson: appinfo tests are racy if run in parallel
- Date: Fri, 19 Oct 2018 13:41:28 +0000 (UTC)
commit 067d4b47c4204ea5927e93710247006e0964c776
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 4eb4ef6f3..801d52c2c 100644
--- a/gio/tests/meson.build
+++ b/gio/tests/meson.build
@@ -144,9 +144,11 @@ if host_machine.system() != 'windows'
gio_tests += [{
'appinfo' : {
'install' : false,
+ 'is_parallel' : false,
},
'desktop-app-info' : {
'install' : false,
+ 'is_parallel' : false,
},
}]
endif
@@ -479,8 +481,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]