Add explicit logs when creating list of runnable tests
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 15 Jan 2016 10:20:16 +0000 (11:20 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 15 Jan 2016 10:20:16 +0000 (11:20 +0100)
JIRA: FUNCTEST-119

Change-Id: I8d7e029c03bd24cd87c81956f246fae532d4feb9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
testcases/config_functest.py

index c2e8737..1168258 100755 (executable)
@@ -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)