From ef7cb7ea3e6fcb21a4fcf38602b3f43f03232ace Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Dec 2016 17:08:31 +0200 Subject: 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. --- tests/test/common.test | 2 +- tests/test/script/runner/status.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test') 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 -- cgit v1.1