build/pymake/tests/parallel-waiting.mk

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 #T commandline: ['-j2']
     3 EXPECTED = target1:before:target2:1:target2:2:target2:3:target1:after
     5 all:: target1 target2
     6 	cat results
     7 	test "$$(cat results)" = "$(EXPECTED)"
     8 	@echo TEST-PASS
    10 target1:
    11 	printf "$@:before:" >>results
    12 	sleep 4
    13 	printf "$@:after" >>results
    15 target2:
    16 	sleep 0.2
    17 	printf "$@:1:" >>results
    18 	sleep 0.1
    19 	printf "$@:2:" >>results
    20 	sleep 0.1
    21 	printf "$@:3:" >>results

mercurial