aboutsummaryrefslogtreecommitdiff
path: root/tests/test/common.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-11 10:14:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-12 10:58:19 +0200
commit9bf93c1ab73ee3cd2b763285fc5fc5456e972854 (patch)
tree0357c36e12fe2137ef6c9bd228e9d69bb2489a02 /tests/test/common.test
parent33ed305eac57bff406fa3f672ba8acc4941e8f13 (diff)
Implement support for narrowing down tests (config.test)
Diffstat (limited to 'tests/test/common.test')
-rw-r--r--tests/test/common.test10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/test/common.test b/tests/test/common.test
index da366ce..0f63bd3 100644
--- a/tests/test/common.test
+++ b/tests/test/common.test
@@ -14,10 +14,16 @@ amalgamation =
using test
EOI
-test.options += --jobs 1 --quiet --buildfile -
+# By default read buildfile from stdin.
+#
+if ($null($test.options))
+ test.options = --buildfile -
+end
+
+test.options += --jobs 1 --quiet
# By default perform test.
#
-if ($empty($test.arguments))
+if ($null($test.arguments))
test.arguments = test
end