[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251110232642.633672-2-yosry.ahmed@linux.dev>
Date: Mon, 10 Nov 2025 23:26:29 +0000
From: Yosry Ahmed <yosry.ahmed@...ux.dev>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Paolo Bonzini <pbonzini@...hat.com>,
Kevin Cheng <chengkev@...gle.com>,
kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yosry Ahmed <yosry.ahmed@...ux.dev>
Subject: [PATCH v3 01/14] scripts: Always return '2' when skipping tests
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 <yosry.ahmed@...ux.dev>
---
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
Powered by blists - more mailing lists