summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdovetail/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/run.py b/dovetail/run.py
index 84bd88f3..09d69481 100755
--- a/dovetail/run.py
+++ b/dovetail/run.py
@@ -95,10 +95,10 @@ def check_tc_result(testcase, logger):
return
if os.path.isfile(result_file):
logger.info("Results have been stored with file %s.", result_file)
- result = Report.get_result(testcase)
- Report.check_result(testcase, result)
else:
logger.error("Fail to store results with file %s.", result_file)
+ result = Report.get_result(testcase)
+ Report.check_result(testcase, result)
def validate_input(input_dict, check_dict, logger):