build/pymake/tests/parallel-waiting.mk

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     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