summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/eval.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/eval.mk')
-rw-r--r--build/pymake/tests/eval.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/pymake/tests/eval.mk b/build/pymake/tests/eval.mk
new file mode 100644
index 000000000..de9759f02
--- /dev/null
+++ b/build/pymake/tests/eval.mk
@@ -0,0 +1,7 @@
+TESTVAR = val1
+
+$(eval TESTVAR = val2)
+
+all:
+ test "$(TESTVAR)" = "val2"
+ @echo TEST-PASS