summaryrefslogtreecommitdiff
path: root/python/pymake/tests/var-ref.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/var-ref.mk')
-rw-r--r--python/pymake/tests/var-ref.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/pymake/tests/var-ref.mk b/python/pymake/tests/var-ref.mk
new file mode 100644
index 000000000..3bc1886f9
--- /dev/null
+++ b/python/pymake/tests/var-ref.mk
@@ -0,0 +1,19 @@
+VAR = value
+VAR2 == value
+
+VAR5 = $(NULL) $(NULL)
+VARC = value # comment
+
+$(VAR3)
+ $(VAR4)
+$(VAR5)
+
+VAR6$(VAR5) = val6
+
+all:
+ test "$( VAR)" = ""
+ test "$(VAR2)" = "= value"
+ test "${VAR2}" = "= value"
+ test "$(VAR6 )" = "val6"
+ test "$(VARC)" = "value "
+ @echo TEST-PASS