adding parallel stuff
This commit is contained in:
parent
241ddcd2cf
commit
552873a642
17
urchin
17
urchin
@ -115,21 +115,26 @@ recurse() {
|
||||
# The directory is empty.
|
||||
break
|
||||
fi
|
||||
urchin_source setup
|
||||
|
||||
(
|
||||
urchin_source setup
|
||||
set +e
|
||||
recurse "$requested_path" "$test" "$cycle_shell" "$TEST_SHELL"
|
||||
|
||||
exit_code=$?
|
||||
set -e
|
||||
|
||||
if $exit_on_not_ok && test $exit_code -ne 0; then
|
||||
urchin_source teardown
|
||||
exit $exit_code
|
||||
) &
|
||||
|
||||
if $single_process; then
|
||||
wait $!
|
||||
exit_code=$?
|
||||
if $exit_on_not_ok && test $exit_code -ne 0; then
|
||||
urchin_source teardown_dir
|
||||
urchin_exit 1
|
||||
fi
|
||||
|
||||
urchin_source teardown
|
||||
else
|
||||
fi
|
||||
done
|
||||
urchin_source teardown_dir
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user