summaryrefslogtreecommitdiff
path: root/python/pymake/tests/cmdgoals.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/cmdgoals.mk')
-rw-r--r--python/pymake/tests/cmdgoals.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/pymake/tests/cmdgoals.mk b/python/pymake/tests/cmdgoals.mk
new file mode 100644
index 000000000..a3b25e751
--- /dev/null
+++ b/python/pymake/tests/cmdgoals.mk
@@ -0,0 +1,9 @@
+default:
+ test "$(MAKECMDGOALS)" = ""
+ $(MAKE) -f $(TESTPATH)/cmdgoals.mk t1 t2
+ @echo TEST-PASS
+
+t1:
+ test "$(MAKECMDGOALS)" = "t1 t2"
+
+t2: