summaryrefslogtreecommitdiffstats
path: root/testcases/config_functest.py
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 10:39:36 +0000
commit50aac2990e19535e6ed7d81b41149e7657482ba2 (patch)
tree5a3a592c30ebd6e201f463e8a39eb027cfaab12a /testcases/config_functest.py
parentc02c9a09ea850103d6f7ebae8b4f182329b89dae (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> (cherry picked from commit 8bcf8ff9f7277256361cdd6d4cc557f01d64f042)
Diffstat (limited to 'testcases/config_functest.py')
-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 c2e8737b7..116825800 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)