aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-09 17:29:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-09 17:29:27 +0200
commitea22643b2217921df74ea14df47d7c83987d5761 (patch)
tree91480771997be1b7f92f46ee404c266e0f4dcd76 /tests
parent1a9d610051cd48c98fb71a570a0871b4e073cec9 (diff)
Initial parallel scheduler implementation, use to run testscrips
Diffstat (limited to 'tests')
-rw-r--r--tests/common.test2
-rw-r--r--tests/eval/comp.test6
-rw-r--r--tests/function/builtin/testscript4
-rw-r--r--tests/test/common.test2
-rw-r--r--tests/test/script/common.test4
5 files changed, 9 insertions, 9 deletions
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.