summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/var-commandline.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/var-commandline.mk')
-rw-r--r--build/pymake/tests/var-commandline.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/pymake/tests/var-commandline.mk b/build/pymake/tests/var-commandline.mk
new file mode 100644
index 000000000..e2cdad457
--- /dev/null
+++ b/build/pymake/tests/var-commandline.mk
@@ -0,0 +1,8 @@
+#T commandline: ['TESTVAR=$(MAKEVAL)', 'TESTVAR2:=$(MAKEVAL)']
+
+MAKEVAL=testvalue
+
+all:
+ test "$(TESTVAR)" = "testvalue"
+ test "$(TESTVAR2)" = ""
+ @echo "TEST-PASS" \ No newline at end of file