build/pymake/tests/matchany.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build/pymake/tests/matchany.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +#T returncode: 2
     1.5 +
     1.6 +# we should fail to make foo.ooo from foo.ooo.test
     1.7 +all: foo.ooo
     1.8 +	@echo TEST-FAIL
     1.9 +
    1.10 +%.ooo:
    1.11 +
    1.12 +# this match-anything pattern should not apply to %.ooo
    1.13 +%: %.test
    1.14 +	cp $< $@
    1.15 +
    1.16 +foo.ooo.test:
    1.17 +	touch $@

mercurial