aboutsummaryrefslogtreecommitdiff
path: root/tests/variable/testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-20 22:01:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-20 22:01:57 +0300
commit773fbb10eb59c4e855eccf9966a6ef3a68e3e0c3 (patch)
tree55178311afbf48536088fa4a83b3bf45d8ebcf0c /tests/variable/testscript
parent4b9c521172a2c30a84f76fcedcec37247878a24f (diff)
Get rid of variable struct
Diffstat (limited to 'tests/variable/testscript')
-rw-r--r--tests/variable/testscript55
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/variable/testscript b/tests/variable/testscript
deleted file mode 100644
index 3269a37..0000000
--- a/tests/variable/testscript
+++ /dev/null
@@ -1,55 +0,0 @@
-# file : tests/variable/testscript
-# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-# license : MIT; see accompanying LICENSE file
-
-test.options += -u
-
-: valid
-:
-{
- $* <<EOI >>EOO
- config.cc.coptions="-O3 -stdlib='libc++'"
- ab'c="x y"'
- var=xy
- var=
- EOI
- config.cc.coptions=-O3 -stdlib='libc++'
- abc="x y"
- var=xy
- var=
- EOO
-}
-
-: invalid
-:
-{
- : expected-assignment
- :
- $* <'v"a r=abc"' 2>'1:4: error: expected variable assignment' == 1
-
- : unterminated-quoted-string
- :
- $* <'var="a b' 2>'1:9: error: unterminated quoted string' == 1
-
- : no-value
- :
- $* <'var' 2>'1:4: error: no variable value' == 1
-}
-
-: unquoting
-:
-{
- : single
- :
- $* <"var='a \" b'" >'var=a " b'
-
- : double
- :
- $* <'var="a '"'"' b"' >"var=a ' b"
-
- : mixed
- :
- $* <<EOI >'var=a bc e'
- var='a b'"c e"
- EOI
-}