Code Review
/
validation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ab78424
)
Fix KeyError in show_stopper checking
49/549/1
author
Juha Kosonen
<juha.kosonen@nokia.com>
Thu, 11 Apr 2019 09:11:14 +0000
(12:11 +0300)
committer
Juha Kosonen
<juha.kosonen@nokia.com>
Thu, 11 Apr 2019 10:05:56 +0000
(13:05 +0300)
Testcase yaml does not necessarily contain field 'show_stopper'.
Change-Id: I88034f2aa4500d02302f31862aa610fbe70a0f27
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
bluval/bluval.py
patch
|
blob
|
history
diff --git
a/bluval/bluval.py
b/bluval/bluval.py
index
bf5e0c8
..
c0c16de
100644
(file)
--- a/
bluval/bluval.py
+++ b/
bluval/bluval.py
@@
-34,7
+34,7
@@
def run_testcase(testcase):
print('Invoking {}'.format(cmd))
try:
status = subprocess.call(cmd, shell=True)
- if status != 0 and
testcase['show_stopper']
:
+ if status != 0 and
show_stopper
:
print('Show stopper testcase failed')
return status
except OSError: