summaryrefslogtreecommitdiff
path: root/python/pymake/tests/matchany.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/matchany.mk')
-rw-r--r--python/pymake/tests/matchany.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/python/pymake/tests/matchany.mk b/python/pymake/tests/matchany.mk
new file mode 100644
index 000000000..7876c90a3
--- /dev/null
+++ b/python/pymake/tests/matchany.mk
@@ -0,0 +1,14 @@
+#T returncode: 2
+
+# we should fail to make foo.ooo from foo.ooo.test
+all: foo.ooo
+ @echo TEST-FAIL
+
+%.ooo:
+
+# this match-anything pattern should not apply to %.ooo
+%: %.test
+ cp $< $@
+
+foo.ooo.test:
+ touch $@