[PATCH v3] dts: update overall result pass/skip logic
Dean Marx
dmarx at iol.unh.edu
Fri Mar 20 16:46:41 CET 2026
Update overall result of test suites such that
when some cases skip and at least one passes,
the result is a pass instead of a skip. Only
when all cases skip is the result a skip.
Bugzilla ID: 1899
Signed-off-by: Dean Marx <dmarx at iol.unh.edu>
Tested-by: Andrew Bailey <abailey at iol.unh.edu>
Reviewed-by: Andrew Bailey <abailey at iol.unh.edu>
---
dts/framework/test_result.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dts/framework/test_result.py b/dts/framework/test_result.py
index c6bddc55a9..66cd67fd48 100644
--- a/dts/framework/test_result.py
+++ b/dts/framework/test_result.py
@@ -45,11 +45,11 @@
class Result(IntEnum):
"""The possible states that a setup, a teardown or a test case may end up in."""
- #:
- PASS = auto()
#:
SKIP = auto()
#:
+ PASS = auto()
+ #:
BLOCK = auto()
#:
FAIL = auto()
--
2.52.0
More information about the dev
mailing list