Include more lines in the badblocks reports
Partially addresses issue #27
This commit is contained in:
parent
9bcb0bdb32
commit
c6ff30722d
1 changed files with 3 additions and 1 deletions
|
|
@ -29,8 +29,10 @@ def check_surface_scan_results(test_obj, log_path) -> None:
|
|||
"""Check results and set test status."""
|
||||
with open(log_path, 'r', encoding='utf-8') as _f:
|
||||
for line in _f.readlines():
|
||||
# TODO: Test further to restrict report to just the results
|
||||
line = strip_colors(line.strip())
|
||||
if not line or BADBLOCKS_SKIP_REGEX.match(line):
|
||||
#if not line or BADBLOCKS_SKIP_REGEX.match(line):
|
||||
if not line:
|
||||
# Skip
|
||||
continue
|
||||
match = BADBLOCKS_REGEX.search(line)
|
||||
|
|
|
|||
Loading…
Reference in a new issue