From ea22643b2217921df74ea14df47d7c83987d5761 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Dec 2016 17:29:27 +0200 Subject: Initial parallel scheduler implementation, use to run testscrips --- tests/common.test | 2 +- tests/eval/comp.test | 6 +++--- tests/function/builtin/testscript | 4 ++-- tests/test/common.test | 2 +- tests/test/script/common.test | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/common.test b/tests/common.test index a35d0f8..370db00 100644 --- a/tests/common.test +++ b/tests/common.test @@ -12,7 +12,7 @@ amalgamation = EOI test = $effect($build.path) -test.options += -q --buildfile - +test.options += --jobs 1 --quiet --buildfile - # By default just load the buildfile. # diff --git a/tests/eval/comp.test b/tests/eval/comp.test index 4ef6c2d..7ace1f3 100644 --- a/tests/eval/comp.test +++ b/tests/eval/comp.test @@ -22,9 +22,9 @@ $* <'print (foo <= bar)' >'false' : le-false $* <'print (bar <= foo)' >'true' : le-true $* <'print (bar <= bar)' >'true' : le-true-eq -$* <'print (bar >= foo)' >'false' : gt-false -$* <'print (foo >= bar)' >'true' : gt-true -$* <'print (foo >= foo)' >'true' : gt-true-eq +$* <'print (bar >= foo)' >'false' : ge-false +$* <'print (foo >= bar)' >'true' : ge-true +$* <'print (foo >= foo)' >'true' : ge-true-eq : associativity : diff --git a/tests/function/builtin/testscript b/tests/function/builtin/testscript index 98513d3..a727146 100644 --- a/tests/function/builtin/testscript +++ b/tests/function/builtin/testscript @@ -55,8 +55,8 @@ $* <'print $type($identity([null]))' >'' : null-untyped $* <'print $identity([string] abc)' >'abc'; - $* <'print $type($identity([string] abc))' >'string' : null-typed + $* <'print $type($identity([string] abc))' >'string' : typed $* <'print $identity(abc)' >'abc'; - $* <'print $type($identity(abc))' >'' : null-untyped + $* <'print $type($identity(abc))' >'' : untyped } diff --git a/tests/test/common.test b/tests/test/common.test index 386b16c..ad0ae36 100644 --- a/tests/test/common.test +++ b/tests/test/common.test @@ -15,7 +15,7 @@ using test EOI test = $effect($build.path) -test.options += -q --buildfile - +test.options += --jobs 1 --quiet --buildfile - # By default perform test. # diff --git a/tests/test/script/common.test b/tests/test/script/common.test index a38c0a1..abd1faa 100644 --- a/tests/test/script/common.test +++ b/tests/test/script/common.test @@ -18,8 +18,8 @@ EOI # ($b) which will execute the testscript. # c = cat >>>testscript -b = $effect($build.path) -q --buildfile - <'./: test{testscript}' \ - &?test/*** test +b = $effect($build.path) --jobs 1 --quiet --buildfile - test \ + <'./: test{testscript}' &?test/*** # Add extra set of quotes since this value will be "cat" (normally as $*) # into testscript. -- cgit v1.1