From 8c1a1b304cf4faa676e1166ae436d63a67840650 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Wed, 20 Sep 2023 13:45:41 +0200 Subject: [PATCH] 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. --- bin/tests/system/legacy.run.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/legacy.run.sh.in b/bin/tests/system/legacy.run.sh.in index 50af41c41d..501e554e3d 100644 --- a/bin/tests/system/legacy.run.sh.in +++ b/bin/tests/system/legacy.run.sh.in @@ -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