From b37f1aa6398065be806e6605a023189685669885 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Feb 2017 03:55:15 +0200 Subject: Implement parallel match --- tests/test/common.test | 2 +- tests/test/config-test/testscript | 2 +- tests/test/script/common.test | 2 +- tests/test/script/runner/redirect.test | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/test') diff --git a/tests/test/common.test b/tests/test/common.test index 7e3aa67..fc3cf9f 100644 --- a/tests/test/common.test +++ b/tests/test/common.test @@ -20,7 +20,7 @@ if ($null($test.options)) test.options = --buildfile - end -test.options += --jobs 1 --quiet +test.options += --serial-stop --quiet # By default perform test. # diff --git a/tests/test/config-test/testscript b/tests/test/config-test/testscript index 833a33a..d918a3b 100644 --- a/tests/test/config-test/testscript +++ b/tests/test/config-test/testscript @@ -5,7 +5,7 @@ # Setup a realistic test project that we will then exercise. # -test.options = --jobs 1 --quiet +test.options = --serial-stop --quiet test.arguments = 'test(../proj/@./)' # Test out-of-src (for parallel). test.cleanups = &**/ # Cleanup out directory structure. diff --git a/tests/test/script/common.test b/tests/test/script/common.test index 781be30..cc93a8d 100644 --- a/tests/test/script/common.test +++ b/tests/test/script/common.test @@ -32,5 +32,5 @@ end # automatically becoming dir{./}'s prerequisite. # c = cat >=testscript -b = $0 --jobs 1 --quiet --buildfile - test <"'test{testscript}: \$target'" \ +b = $0 --serial-stop --quiet --buildfile - test <"'test{testscript}: \$target'" \ &?test/*** diff --git a/tests/test/script/runner/redirect.test b/tests/test/script/runner/redirect.test index b316011..4e0bc69 100644 --- a/tests/test/script/runner/redirect.test +++ b/tests/test/script/runner/redirect.test @@ -16,7 +16,7 @@ psr = ($cxx.target.class != 'windows' ? '/' : '\\') # Path separator in regex. cat <=buildfile; test{testscript}: $target EOI - $0 --jobs 1 --quiet test foo 2>bar + $0 --serial-stop --quiet test foo 2>bar } : null -- cgit v1.1