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 <[email protected]> Tested-by: Andrew Bailey <[email protected]> Reviewed-by: Andrew Bailey <[email protected]> --- 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

