diff options
author | Simon McVittie <smcv@debian.org> | 2019-10-06 18:24:45 +0100 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2019-10-10 09:38:04 +0000 |
commit | b8b8c30853b3c129dbe03b976f46980be6b59369 (patch) | |
tree | b1b2f609ce2b70468490aa5d8b3c4b780233b125 | |
parent | 5b2cf0eab0386322ed3f25d9b671c00dfbb93471 (diff) | |
download | libsoup-b8b8c30853b3c129dbe03b976f46980be6b59369.tar.gz |
tests: Disable parallelism for installed-tests too
Installed-test runners are allowed to parallelize 'session' tests, but
not 'session-exclusive'.
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r-- | tests/meson.build | 1 | ||||
-rw-r--r-- | tests/template-tap.test.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build index e755367b..5d6a8f6b 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -163,6 +163,7 @@ foreach test: tests test_conf.set('installed_tests_dir', abs_installed_tests_execdir) test_conf.set('program', test_name) test_conf.set('env', '') + test_conf.set('type', test[1] ? 'session' : 'session-exclusive') configure_file( input : installed_tests_template_tap, output : test_name + '.test', diff --git a/tests/template-tap.test.in b/tests/template-tap.test.in index 30cd1668..b84de717 100644 --- a/tests/template-tap.test.in +++ b/tests/template-tap.test.in @@ -1,4 +1,4 @@ [Test] -Type=session +Type=@type@ Exec=@env@@installed_tests_dir@/@program@ --tap Output=TAP |