t/010-jobserver: add serial/parallel override tests.
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.
This commit is contained in:
parent
19049d52fc
commit
87bac287b6
14 changed files with 87 additions and 2 deletions
4
t/010-jobserver/default.spin.do
Normal file
4
t/010-jobserver/default.spin.do
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
for d in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do
|
||||
redo $2.$d.x
|
||||
done
|
||||
echo hello
|
||||
Loading…
Add table
Add a link
Reference in a new issue