aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/run_tests.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-23 10:13:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-23 10:13:41 +0000
commit389bc4ce909ed3f8a023218ddac833926aa80492 (patch)
treed183f502bb0b72996e0662a9966a3d84faf076b2 /functest/ci/run_tests.py
parentd51ab9676f7c6264ffe42be42ba70f5a273a290f (diff)
parenta41264c46d583a68d48de041663213752dc62bf3 (diff)
Merge "solve failure testcases are not pushed to testDB problem"
Diffstat (limited to 'functest/ci/run_tests.py')
-rw-r--r--functest/ci/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index 70b5bbc8c..e8be42902 100644
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -123,7 +123,7 @@ def run_test(test, tier_name):
cls = getattr(module, run_dict['class'])
test_case = cls()
result = test_case.run()
- if result == TestCasesBase.TestCasesBase.EX_OK and REPORT_FLAG:
+ if result != TestCasesBase.TestCasesBase.EX_SKIP and REPORT_FLAG:
result = test_case.push_to_db()
except ImportError:
logger.exception("Cannot import module {}".format(