aboutsummaryrefslogtreecommitdiff
path: root/tests/test/common.test
diff options
context:
space:
mode:
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