aboutsummaryrefslogtreecommitdiff
path: root/tests/common.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:55:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 07:55:02 +0200
commitb82298fbb340446303c9510b56d41cead9d0755b (patch)
treed45f65b4b6d87d2e1207f0127f0331eb4278149f /tests/common.testscript
parent519ae8a0cd36c9726c12df8df864f9b6853d9857 (diff)
Escape quoting in config.{c,cxx} paths when passing to tests
This is needed due to the command line re-parsing (see "Lexical Structure" in the Testscript manual for details).
Diffstat (limited to 'tests/common.testscript')
-rw-r--r--tests/common.testscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/common.testscript b/tests/common.testscript
index bee2cee..cf5931d 100644
--- a/tests/common.testscript
+++ b/tests/common.testscript
@@ -17,7 +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)?
+# Note that this works without quoting on Windows because of the effective
+# escaping during the command line re-parse.
#
options_guard = $~/.build2
+mkdir $options_guard