From 067d4b47c4204ea5927e93710247006e0964c776 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 25 Sep 2018 15:14:53 -0400 Subject: [PATCH] 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