From: Jose Lausuch Date: Thu, 2 Mar 2017 14:42:50 +0000 (+0000) Subject: Merge "Remove exec_test.sh" X-Git-Tag: 0.2~850 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=a5cb507c061738a50ca358147a135a1c4498ff22;p=functest-xtesting.git Merge "Remove exec_test.sh" --- a5cb507c061738a50ca358147a135a1c4498ff22 diff --cc functest/ci/run_tests.py index 2706a802,0d1b17da..0e951eff --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@@ -174,15 -166,10 +167,11 @@@ def run_test(test, tier_name, testcases logger.exception("Cannot get class {}".format( run_dict['class'])) else: - cmd = ("%s%s" % (EXEC_SCRIPT, flags)) - logger.info("Executing command {} because {} " - "doesn't implement the new framework".format( - cmd, test_name)) - result = ft_utils.execute_command(cmd) + raise Exception("Cannot import the class for the test case.") - if GlobalVariables.CLEAN_FLAG: + if test.needs_clean() and GlobalVariables.CLEAN_FLAG: cleanup() + end = datetime.datetime.now() duration = (end - start).seconds duration_str = ("%02d:%02d" % divmod(duration, 60))