build/pymake/tests/diamond-deps.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build/pymake/tests/diamond-deps.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +# If the dependency graph includes a diamond dependency, we should only remake
     1.5 +# once!
     1.6 +
     1.7 +all: depA depB
     1.8 +	cat testfile
     1.9 +	test `cat testfile` = "data";
    1.10 +	@echo TEST-PASS
    1.11 +
    1.12 +depA: testfile
    1.13 +depB: testfile
    1.14 +
    1.15 +testfile:
    1.16 +	printf "data" >>$@

mercurial