From 256e6b0a10d43e930ecd81078d9cbcd89ebb5a06 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 9 Nov 2019 15:47:14 +0100 Subject: Add links in testcase details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It allows finding easily reports thanks to DB. Change-Id: Ib5c4400c186fd320ae87e7fd3d4404b65e996a82 Signed-off-by: Cédric Ollivier --- xtesting/ci/run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xtesting/ci/run_tests.py') diff --git a/xtesting/ci/run_tests.py b/xtesting/ci/run_tests.py index 71e8cfd4..0f43210c 100644 --- a/xtesting/ci/run_tests.py +++ b/xtesting/ci/run_tests.py @@ -172,14 +172,14 @@ class Runner(): test_case.run(**kwargs) except KeyError: test_case.run() - if self.report_flag: - test_case.push_to_db() result = test_case.is_successful() LOGGER.info("Test result:\n\n%s\n", test_case) if self.clean_flag: test_case.clean() if self.push_flag: test_case.publish_artifacts() + if self.report_flag: + test_case.push_to_db() except ImportError: LOGGER.exception("Cannot import module %s", run_dict['module']) except AttributeError: -- cgit 1.2.3-korg