aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2016-08-17 12:11:19 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2016-08-17 12:11:19 +0530
commitc3d0bc94416dbe6cf73fe37f72591cf62083f36f (patch)
tree289e2e9c364ab594a7f0f0abe13f3aca72ea100f
parent0b852cf99cbbfca73149d13049357e4e6296a58c (diff)
robot-results-parser: change case pass/fail
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-xrobot-results-parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot-results-parser.py b/robot-results-parser.py
index af394f8..a5fe6d1 100755
--- a/robot-results-parser.py
+++ b/robot-results-parser.py
@@ -32,7 +32,7 @@ for statistics in root.findall('statistics'):
for stat in suite.findall('stat'):
name = stat.get('name')
if '1' == stat.get('pass'):
- status = 'PASS'
+ status = 'pass'
else:
- status = 'FAIL'
+ status = 'fail'
print name, ":", status