Update test report on ERROR
This commit is contained in:
parent
126aaae8ba
commit
7d66b723ca
1 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ IO_ALT_TEST_SIZE_FACTOR = 0.01
|
||||||
IO_BLOCK_SIZE = 512 * 1024
|
IO_BLOCK_SIZE = 512 * 1024
|
||||||
IO_CHUNK_SIZE = 32 * 1024**2
|
IO_CHUNK_SIZE = 32 * 1024**2
|
||||||
IO_MINIMUM_TEST_SIZE = 10 * 1024**3
|
IO_MINIMUM_TEST_SIZE = 10 * 1024**3
|
||||||
IO_RATE_REGEX = re.compile(r'(?P<bytes>\d+) bytes.* (?P<seconds>\S+) s(,|ecs )')
|
IO_RATE_REGEX = re.compile(
|
||||||
|
r'(?P<bytes>\d+) bytes.* (?P<seconds>\S+) s(?:,|ecs )',
|
||||||
|
)
|
||||||
MENU_ACTIONS = (
|
MENU_ACTIONS = (
|
||||||
'Audio Test',
|
'Audio Test',
|
||||||
'Keyboard Test',
|
'Keyboard Test',
|
||||||
|
|
@ -736,6 +738,7 @@ def disk_io_benchmark(state, test_objects, skip_usb=True):
|
||||||
# Something went wrong
|
# Something went wrong
|
||||||
LOG.error('%s', err)
|
LOG.error('%s', err)
|
||||||
test.set_status('ERROR')
|
test.set_status('ERROR')
|
||||||
|
test.report.append(std.color_string(' Unknown Error', 'RED'))
|
||||||
|
|
||||||
# Mark test(s) aborted if necessary
|
# Mark test(s) aborted if necessary
|
||||||
if aborted:
|
if aborted:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue