mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Use 0 exit code for skipped tests in legacy runner
Since the legacy runner is no longer used in the automake test suite, don't use the special GNU exit code indicating a skipped tests. Instead, use 0 to avoid considering skipped tests as failed when using simpler mechanism (such as xargs -P) to run the tests with the legacy runner.
This commit is contained in:
parent
20c8fab299
commit
8c1a1b304c
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ while getopts "sknp:-:t" OPT; do
|
|||
k | keep) stopservers=false ;;
|
||||
n | noclean) clean=false ;;
|
||||
p | port) baseport=$OPTARG ;;
|
||||
s | skip) exit 77 ;;
|
||||
s | skip) exit 0 ;;
|
||||
t | restart) restart=true ;;
|
||||
-) break ;;
|
||||
*) echo "invalid option" >&2; exit 1 ;;
|
||||
|
|
@ -152,7 +152,7 @@ else
|
|||
echowarn "I:$systest:Prerequisites missing, skipping test."
|
||||
echowarn "R:$systest:SKIPPED";
|
||||
echoend "E:$systest:$(date_with_args)"
|
||||
exit 77
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Clean up files left from any potential previous runs except when
|
||||
|
|
|
|||
Loading…
Reference in a new issue