aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-20 05:55:57 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-20 05:56:56 +0200
commit240a546fe43c7338235bb5868079efa3bfb9e6fc (patch)
treebceac4f83dfea309c7ed032e15a6b62043936f7a /xtesting/ci
parent7bee47e42290d218eae660ee5c44d844af9a41bf (diff)
Initialize testcase results to EX_TESTCASE_FAILED
Else the testcase returns EX_OK if exceptions in __init__() Change-Id: I5f23e91a3ecda22a429a006af56592ee86084038 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/ci')
-rw-r--r--xtesting/ci/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/ci/run_tests.py b/xtesting/ci/run_tests.py
index 3a3e6858..c8e99663 100644
--- a/xtesting/ci/run_tests.py
+++ b/xtesting/ci/run_tests.py
@@ -146,7 +146,7 @@ class Runner(object):
msg.add_row([test.get_name(), test.get_project(), "00:00", "SKIP"])
LOGGER.info("Test result:\n\n%s\n", msg)
return testcase.TestCase.EX_TESTCASE_SKIPPED
- result = testcase.TestCase.EX_RUN_ERROR
+ result = testcase.TestCase.EX_TESTCASE_FAILED
run_dict = self.get_run_dict(test.get_name())
if run_dict:
try: