aboutsummaryrefslogtreecommitdiff
path: root/tests/function
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function')
-rw-r--r--tests/function/builtin/buildfile2
-rw-r--r--tests/function/path/buildfile2
-rw-r--r--tests/function/path/testscript4
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/function/builtin/buildfile b/tests/function/builtin/buildfile
index fb06e73..a3446bb 100644
--- a/tests/function/builtin/buildfile
+++ b/tests/function/builtin/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/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"
}
}