summaryrefslogtreecommitdiff
path: root/python/pymake/tests/serial-doublecolon-execution.mk
blob: 1871cb13a9ce3961080a6e59e7abebb8d5afc2d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#T commandline: ['-j3']

# Commands of double-colon rules are always executed in order.

all: dc
	cat status
	test "$$(cat status)" = "all1:all2:"
	@echo TEST-PASS

dc:: slowt
	printf "all1:" >> status

dc::
	sleep 0.2
	printf "all2:" >> status

slowt:
	sleep 1