Skip to content
Snippets Groups Projects
Commit 57d1ee23 authored by Antonio Terceiro's avatar Antonio Terceiro Committed by Tyler Baker
Browse files

lava_test_shell: reset invalid test result

If we let the testcase get away with a invalid test result the resulting
bundle stream will not be valid.

Change-Id: Ib5d0896021497593f6cd696bdd874f15d7149ee5
parent baa9866c
No related branches found
No related tags found
No related merge requests found
......@@ -224,6 +224,7 @@ def parse_testcase_result(data, fixupdict={}):
res['result'] = fixupdict[res['result']]
if res['result'] not in ('pass', 'fail', 'skip', 'unknown'):
logging.error('Bad test result: %s' % res['result'])
res['result'] = 'unknown'
if 'test_case_id' not in res:
logging.warning(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment