aboutsummaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-01 17:08:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-01 17:08:31 +0200
commitef7cb7ea3e6fcb21a4fcf38602b3f43f03232ace (patch)
tree7a37583dbe227019e62571d57c92613de3dd4b13 /tests/test
parent5e71edfa033f163ded9a82f7d66412d8ee05bc48 (diff)
Implement testscript variable-if
Now a variable-only if is treated the same as a single variable when deciding whether it is part of a test or setup/teardown.
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/common.test2
-rw-r--r--tests/test/script/runner/status.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test/common.test b/tests/test/common.test
index 9477359..386b16c 100644
--- a/tests/test/common.test
+++ b/tests/test/common.test
@@ -19,6 +19,6 @@ test.options += -q --buildfile -
# By default perform test.
#
-+if ($empty($test.arguments))
+if ($empty($test.arguments))
test.arguments = test
end
diff --git a/tests/test/script/runner/status.test b/tests/test/script/runner/status.test
index cf4ce1d..f743518 100644
--- a/tests/test/script/runner/status.test
+++ b/tests/test/script/runner/status.test
@@ -6,7 +6,7 @@
b += --no-column
-+if ($cxx.target.class == "windows")
+if ($cxx.target.class == "windows")
ext = ".exe"
end