aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-01-15 11:20:16 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-15 11:20:16 +0100
commit8bcf8ff9f7277256361cdd6d4cc557f01d64f042 (patch)
treeb4bab9041e92438c0dbdf0b440573928eae69182
parent246b11bd307da2a3a3de9d642a9627aca80e5c4c (diff)
Add explicit logs when creating list of runnable tests
JIRA: FUNCTEST-119 Change-Id: I8d7e029c03bd24cd87c81956f246fae532d4feb9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
-rwxr-xr-xtestcases/config_functest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py
index c2e8737b..11682580 100755
--- a/testcases/config_functest.py
+++ b/testcases/config_functest.py
@@ -132,9 +132,11 @@ def action_start():
os.makedirs(RALLY_RESULT_DIR)
try:
- functest_utils.generateTestcaseList(functest_yaml)
+ logger.info("CI: Generate the list of executable tests.")
+ runnable_test = functest_utils.generateTestcaseList(functest_yaml)
+ logger.info("List of runnable tests generated: %s" % runnable_test)
except:
- logger.info("Not CI mode. Test cases list not generated.")
+ logger.error("Impossible to generate the list of runnable tests")
exit(0)