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.
8 lines
191 B
Text
8 lines
191 B
Text
rm -f $1.start $1.end
|
|
echo 'second start' >&2
|
|
: >$1.start
|
|
redo 2.x
|
|
echo 'second sleep' >&2
|
|
redo-ifchange first # wait until 'first' finishes, if it's running
|
|
echo 'second end' >&2
|
|
: >$1.end
|