summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/cmdgoals.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/cmdgoals.mk')
-rw-r--r--build/pymake/tests/cmdgoals.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/pymake/tests/cmdgoals.mk b/build/pymake/tests/cmdgoals.mk
new file mode 100644
index 000000000..a3b25e751
--- /dev/null
+++ b/build/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: