runtime.bash always returns 2 (or 77 in one case) when a test is skipped. But two cases are missed and return 0. Fix them. Signed-off-by: Yosry Ahmed --- scripts/runtime.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/runtime.bash b/scripts/runtime.bash index 6805e97f90c8f..0cbe2695948b8 100644 --- a/scripts/runtime.bash +++ b/scripts/runtime.bash @@ -103,13 +103,13 @@ function run() if [ -z "$GEN_SE_HEADER" ] && find_word "pv-host" "$groups"; then print_result "SKIP" $testname "" "no gen-se-header available for pv-host test" - return + return 2 fi if [ -z "$only_group" ] && find_word nodefault "$groups" && skip_nodefault; then print_result "SKIP" $testname "" "test marked as manual run only" - return; + return 2 fi if [ -n "$arch" ] && [ "$arch" != "$ARCH" ]; then -- 2.51.2.1041.gc1ab5b90ca-goog