add series flag

This commit is contained in:
Thomas Levine 2016-02-28 16:00:07 +00:00
parent 2f57f7345e
commit 241ddcd2cf

4
urchin
View File

@ -352,6 +352,8 @@ The following flags affect how this multiple-shell testing is handled.
The following flags affect how Urchin processes tests. The following flags affect how Urchin processes tests.
-b, --run-in-series Run tests in series. The default is to run tests
in parallel where possible.
-e, --exit-on-fail Stop running if any single test fails. -e, --exit-on-fail Stop running if any single test fails.
This is useful if you are running something This is useful if you are running something
configuration files with Urchin. configuration files with Urchin.
@ -411,12 +413,14 @@ validate_strings() {
cycle_shell=true cycle_shell=true
shell_list=$tmp/shell_list shell_list=$tmp/shell_list
run_in_series=false
force=false force=false
exit_on_not_ok=false exit_on_not_ok=false
tap_format=false tap_format=false
while [ $# -gt 0 ] while [ $# -gt 0 ]
do do
case "$1" in case "$1" in
-b) run_in_series=true;;
-e) exit_on_not_ok=true;; -e) exit_on_not_ok=true;;
-f) force=true;; -f) force=true;;
-s) -s)