summaryrefslogtreecommitdiff
path: root/build/pymake/tests/matchany.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/matchany.mk')
-rw-r--r--build/pymake/tests/matchany.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/pymake/tests/matchany.mk b/build/pymake/tests/matchany.mk
new file mode 100644
index 0000000000..7876c90a31
--- /dev/null
+++ b/build/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 $@