aboutsummaryrefslogtreecommitdiff
path: root/tests/variable/representation/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-24 10:21:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-24 14:52:55 +0200
commit532e2085deeddd3e94cfbee1ded1e5917aff2b59 (patch)
treeee7ddd0ed66832b357a48591ce199d83eb106ecd /tests/variable/representation/buildfile
parent68f96f9213e849d0d7c4cedf3edeaec99743ee27 (diff)
Add support for reversing project qualification to string value
Diffstat (limited to 'tests/variable/representation/buildfile')
-rw-r--r--tests/variable/representation/buildfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/variable/representation/buildfile b/tests/variable/representation/buildfile
new file mode 100644
index 0000000..22913d5
--- /dev/null
+++ b/tests/variable/representation/buildfile
@@ -0,0 +1,18 @@
+# Test reversibility of variable representation.
+#
+val = -L/
+val += -L/foo/
+#val += dir{-L/}
+
+val += foo%bar
+val += foo%
+val += %bar
+val += foo%{bar}
+#val += foo%file{x}
+
+using cxx
+cxx.ext = cxx
+
+exe{driver}: cxx{driver}
+exe{driver}: test.output = test.out
+exe{driver}: test.options = $val