diff options
Diffstat (limited to 'unit-tests/test/script/parser/scope.test')
-rw-r--r-- | unit-tests/test/script/parser/scope.test | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/unit-tests/test/script/parser/scope.test b/unit-tests/test/script/parser/scope.test index 24b4a42..7d78aca 100644 --- a/unit-tests/test/script/parser/scope.test +++ b/unit-tests/test/script/parser/scope.test @@ -1,23 +1,13 @@ -# @@ REGEX Note that the script can still fail on POSIX for space-containing -# paths. -# -if ($cxx.target.class == "windows") - q = "'" -end - $* testscript <'cmd $@' >"cmd 1" # id-testscript $* foo.test <'cmd $@' >"cmd foo/1" # id -wd = [dir_path] $~; -wd += test-driver; -wd += 1; -$* testscript <'cmd "$~"' >"cmd $q$wd$q" # wd-testscript +: wd-testscript +: +$* testscript <'cmd "$~"' >~"%cmd '?.+[/\\\\]test-driver[/\\\\]1'?%" -wd = [dir_path] $~; -wd += test-driver; -wd += foo; -wd += 1; -$* foo.test <'cmd "$~"' >"cmd $q$wd$q" # wd +: wd +: +$* foo.test <'cmd "$~"' >~"%cmd '?.+[/\\\\]test-driver[/\\\\]foo[/\\\\]1'?%" $* -s <<EOI # group-empty { |