diff options
Diffstat (limited to 'python/pymake/tests/eval-duringexecute.mk')
-rw-r--r-- | python/pymake/tests/eval-duringexecute.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/pymake/tests/eval-duringexecute.mk b/python/pymake/tests/eval-duringexecute.mk new file mode 100644 index 000000000..dff848032 --- /dev/null +++ b/python/pymake/tests/eval-duringexecute.mk @@ -0,0 +1,12 @@ +#T returncode: 2 + +# Once parsing is finished, recursive expansion in commands are not allowed to create any new rules (it may only set variables) + +define MORERULE +all: + @echo TEST-FAIL +endef + +all: + $(eval $(MORERULE)) + @echo done |