Browse Source

Do not mark aborted tests as failure

tags/0.1
Johann Schmitz 4 years ago
parent
commit
0120c258ff
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/smartcheck/check.py

+ 2
- 1
src/smartcheck/check.py View File

@@ -144,7 +144,8 @@ class SMARTCheck(object):
def check_tests(self):
ok_test_results = [
'Completed without error',
'Interrupted (host reset)' # reboot during self test
'Interrupted (host reset)', # reboot during self test
'Aborted by host'
]
return not any([x[2] not in ok_test_results for x in self.self_tests['test_results']])


Loading…
Cancel
Save