git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement retcod as adverized
[tests.git]
/
system
/
TestMain.py
diff --git
a/system/TestMain.py
b/system/TestMain.py
index
bca8a3c
..
f3d38fc
100755
(executable)
--- a/
system/TestMain.py
+++ b/
system/TestMain.py
@@
-525,8
+525,8
@@
steps refer to a method in TestPlc or to a step_* module
try:
success=self.run()
if success == 'SUCCESS': return 0
- elif success == 'IGNORED': return
2
- else: return
1
+ elif success == 'IGNORED': return
1
+ else: return
2
except SystemExit:
print 'Caught SystemExit'
return 3