aboutsummaryrefslogtreecommitdiff
path: root/tests/common.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:14:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:20:06 +0200
commiteeed5341570e88ff494634198c77b54f3595a684 (patch)
tree628e342d4867eecb079822907b24447051d6e68b /tests/common.testscript
parent5529cbd7dbe364410ecdd132ac5f24cda0846121 (diff)
Quote config.{c,cxx} paths when passing to tests
Without this Windows directory separators are treated as escapes.
Diffstat (limited to 'tests/common.testscript')
-rw-r--r--tests/common.testscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/common.testscript b/tests/common.testscript
index 2340491..bee2cee 100644
--- a/tests/common.testscript
+++ b/tests/common.testscript
@@ -17,6 +17,8 @@ build = $recall($build.path)
# Disable loading the user's default options files (that may affect the test
# commands execution) for bdep, bpkg, and build2.
#
+# @@ Quote paths similar to config.cxx (how does it even work on Windows)?
+#
options_guard = $~/.build2
+mkdir $options_guard