build/pymake/tests/doublecolon-priordeps.mk

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build/pymake/tests/doublecolon-priordeps.mk	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +#T commandline: ['-j3']
     1.5 +
     1.6 +# All *prior* dependencies of a doublecolon rule must be satisfied before
     1.7 +# subsequent commands are run.
     1.8 +
     1.9 +all:: target1
    1.10 +
    1.11 +all:: target2
    1.12 +	test -f target1
    1.13 +	@echo TEST-PASS
    1.14 +
    1.15 +target1:
    1.16 +	touch starting-$@
    1.17 +	sleep 1
    1.18 +	touch $@
    1.19 +
    1.20 +target2:
    1.21 +	sleep 0.1
    1.22 +	test -f starting-target1

mercurial