[dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results
lihong
lihongx.ma at intel.com
Thu Nov 28 00:26:05 CET 2019
Signed-off-by: lihong <lihongx.ma at intel.com>
---
framework/dts.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/framework/dts.py b/framework/dts.py
index f726314..f1e57bd 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -421,11 +421,9 @@ def dts_run_suite(duts, tester, test_suites, target, subtitle):
if suite_obj.execute_setup_all():
suite_obj.execute_test_cases()
- suite_obj.execute_tear_downall()
# save suite cases result
result.copy_suite(suite_obj.get_result())
- save_all_results()
log_handler.info("\nTEST SUITE ENDED: " + test_classname)
dts_log_execution(duts, tester, log_handler)
@@ -435,8 +433,6 @@ def dts_run_suite(duts, tester, test_suites, target, subtitle):
except KeyboardInterrupt:
# stop/save result/skip execution
log_handler.error(" !!! STOPPING DTS")
- suite_obj.execute_tear_downall()
- save_all_results()
break
except Exception as e:
settings.report_error("GENERIC_ERR")
--
2.7.4
More information about the dts
mailing list