This new test validates that you can pass -j1 and -j2 in a sub-redo to create a sub-jobserver with exactly the number of jobs you specified. Now that we have that feature, we can also test for the bug fixed two commits ago where, with -j1, targets would be built in an unexpected order.
6 lines
204 B
Text
6 lines
204 B
Text
# We should be running in parallel with a jobserver shared with second.do.
|
|
# Give second.do some time to start but not finish.
|
|
sleep 1
|
|
|
|
[ -e parallel2.start ] || exit 31
|
|
! [ -e parallel2.end ] || exit 32
|