aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function/path')
-rw-r--r--tests/function/path/buildfile2
-rw-r--r--tests/function/path/testscript4
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/function/path/buildfile b/tests/function/path/buildfile
index 65ed19b..f39a237 100644
--- a/tests/function/path/buildfile
+++ b/tests/function/path/buildfile
@@ -2,4 +2,4 @@
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: test{testscript}
+./: test{testscript} $b
diff --git a/tests/function/path/testscript b/tests/function/path/testscript
index 8467bce..828263f 100644
--- a/tests/function/path/testscript
+++ b/tests/function/path/testscript
@@ -32,7 +32,9 @@ s = ($cxx.target.class != windows ? '/' : '\')
if ($cxx.target.class == windows)
{
mkdir Foo;
- $* <"print \$path.normalize\('$~/foo', true)" >"$~\\Foo"
+ # @@ regex
+ #$* <'print $path.normalize($out_base/foo, true)' >~'/.+\Foo/' # cross
+ $* <'print $path.normalize($out_base/foo, true)' >"$~\\Foo"
}
}