From 5007870b52aa549971824959a55ad3bb886f09e0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Sep 2018 16:37:32 +0200 Subject: Rename .test/test{} to .testscript/testscript{} --- tests/value/reverse.test | 82 ------------------------------------------------ 1 file changed, 82 deletions(-) delete mode 100644 tests/value/reverse.test (limited to 'tests/value/reverse.test') diff --git a/tests/value/reverse.test b/tests/value/reverse.test deleted file mode 100644 index 9ea9d09..0000000 --- a/tests/value/reverse.test +++ /dev/null @@ -1,82 +0,0 @@ -# file : tests/value/reverse.test -# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -# Test reversal to canonical/original representation. -# - -.include ../common.test - -: name -: -{ - : dir - : - $* <>EOO - x = s/foo/bar/ - print ([string] $x) - print "$x" - print -e=$x - EOI - s/foo/bar/ - s/foo/bar/ - -e=s/foo/bar/ - EOO - - : proj - : - $* <>EOO - print ([strings] foo%bar foo% %bar) - EOI - foo%bar foo% %bar - EOO - - : pair - : - $* <>EOO - print ([strings] foo@bar foo/@bar/ foo@ @bar @ "@@") - EOI - foo@bar foo/@bar/ foo@ @bar @ @@ - EOO - - : combined - : - $* <>EOO - print ([strings] xx%foo@yy%bar xx%foo/@yy%bar/) - EOI - xx%foo@yy%bar xx%foo/@yy%bar/ - EOO -} - -: dir-path -: -{ - : rel - : - $* <>"EOO" - x = [dir_path] foo/bar/ - print ([string] $x) - print "$x" - print "-I$x" - EOI - foo/bar/ - foo/bar - -Ifoo/bar - EOO - - : root - : - if ($cxx.target.class != 'windows') - { - $* <>EOO - x = [dir_path] / - print ([string] $x) - print "$x" - print "-I$x" - EOI - / - / - -I/ - EOO - } -} -- cgit v1.1