diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-09-03 16:37:32 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-09-04 16:29:59 +0300 |
commit | 5007870b52aa549971824959a55ad3bb886f09e0 (patch) | |
tree | b0ef7f24c0b9ece2ed23f3c1792f16da324e4171 /tests/name/extension.test | |
parent | 09d60452a80d14d9b8bf3a9395860b50683fa1e8 (diff) |
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'tests/name/extension.test')
-rw-r--r-- | tests/name/extension.test | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/tests/name/extension.test b/tests/name/extension.test deleted file mode 100644 index 160c427..0000000 --- a/tests/name/extension.test +++ /dev/null @@ -1,86 +0,0 @@ -# file : tests/name/extension.test -# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -.include ../common.test - -+cat <<EOI >=build/root.build -define txt: file -txt{*}: extension = txt -EOI - -: name -: -{ - test.arguments = --match-only update - - : unspecified - : - touch foo.txt; - $* <'./: txt{foo}' - - : specified - : - touch foo.text; - $* <'./: txt{foo.text}' - - : specified-none - : - touch foo; - $* <'./: txt{foo.}' - - : specified-default - : - touch foo.test.txt; - $* <'./: txt{foo.test...}' - - # Trailing dots are not allowed on Windows. - # - - : specified-escape-one - : - if ($cxx.target.class != 'windows') - { - touch foo.; - $* <'./: txt{foo..}' - } - - : specified-escape-two - : - if ($cxx.target.class != 'windows') - { - touch foo..; - $* <'./: txt{foo....}' - } - - : specified-invalid - : - $* <'./: txt{foo.....}' 2>>EOE != 0 - <stdin>:1:5: error: invalid trailing dot sequence in target name 'foo.....' - EOE -} - -: pattern -: -{ - : specified-none - : - touch foo; - $* <'print txt{fo?.}' >'txt{foo.}' - - : specified-default - : - touch foo.test.txt; - $* <'print txt{fo?.test...}' >'txt{foo.test...}' - - # Trailing dots are not allowed on Windows. - # - - : specified-escape - : - if ($cxx.target.class != 'windows') - { - touch foo.; - $* <'print txt{fo?..}' >'txt{foo..}' - } -} |