build/pymake/tests/parallel-native.mk

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #T commandline: ['-j2']
     3 # ensure that calling python commands doesn't block other targets
     4 ifndef SLEEP
     5 SLEEP := sleep
     6 endif
     8 PRINTF = printf "$@:0:" >>results
     9 EXPECTED = target2:0:target1:0:
    11 all:: target1 target2
    12 	cat results
    13 	test "$$(cat results)" = "$(EXPECTED)"
    14 	@echo TEST-PASS
    16 target1:
    17 	$(SLEEP) 0.1
    18 	$(PRINTF)
    20 target2:
    21 	$(PRINTF)

mercurial