summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/devices
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/devices')
-rw-r--r--tools/testing/selftests/devices/ksft.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/devices/ksft.py b/tools/testing/selftests/devices/ksft.py
index cd89fb2bc1..bf215790a8 100644
--- a/tools/testing/selftests/devices/ksft.py
+++ b/tools/testing/selftests/devices/ksft.py
@@ -70,7 +70,7 @@ def test_result(condition, description=""):
def finished():
- if ksft_cnt["pass"] == ksft_num_tests:
+ if ksft_cnt["pass"] + ksft_cnt["skip"] == ksft_num_tests:
exit_code = KSFT_PASS
else:
exit_code = KSFT_FAIL