Differentiate between not-run and unknown results
This commit is contained in:
parent
26eadebf21
commit
c43ba34cbf
1 changed files with 3 additions and 3 deletions
|
|
@ -170,7 +170,7 @@ def get_smart_value(smart_data, smart_id):
|
||||||
def get_status_color(s):
|
def get_status_color(s):
|
||||||
"""Get color based on status, returns str."""
|
"""Get color based on status, returns str."""
|
||||||
color = COLORS['CLEAR']
|
color = COLORS['CLEAR']
|
||||||
if s in ['Denied', 'NS', 'OVERRIDE']:
|
if s in ['Denied', 'ERROR', 'NS', 'OVERRIDE']:
|
||||||
color = COLORS['RED']
|
color = COLORS['RED']
|
||||||
elif s in ['Aborted', 'Unknown', 'Working', 'Skipped']:
|
elif s in ['Aborted', 'Unknown', 'Working', 'Skipped']:
|
||||||
color = COLORS['YELLOW']
|
color = COLORS['YELLOW']
|
||||||
|
|
@ -364,10 +364,10 @@ def run_iobenchmark():
|
||||||
dev_size = int(dev_size)
|
dev_size = int(dev_size)
|
||||||
except:
|
except:
|
||||||
# Failed to get dev size, requires manual testing instead
|
# Failed to get dev size, requires manual testing instead
|
||||||
TESTS['iobenchmark']['Status'][name] = 'Unknown'
|
TESTS['iobenchmark']['Status'][name] = 'ERROR'
|
||||||
continue
|
continue
|
||||||
if dev_size < IO_VARS['Minimum Dev Size']:
|
if dev_size < IO_VARS['Minimum Dev Size']:
|
||||||
TESTS['iobenchmark']['Status'][name] = 'Unknown'
|
TESTS['iobenchmark']['Status'][name] = 'ERROR'
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Calculate dd values
|
# Calculate dd values
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue