test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results
@ 2019-11-27 23:26 lihong
  2019-12-04  5:45 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: lihong @ 2019-11-27 23:26 UTC (permalink / raw)
  To: dts; +Cc: lihong

Signed-off-by: lihong <lihongx.ma@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results
  2019-11-27 23:26 [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results lihong
@ 2019-12-04  5:45 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-12-04  5:45 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Thursday, November 28, 2019 7:26 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] framework/dts: remove redundant operations
> about tear_downall and save_all_results
> 
> Signed-off-by: lihong <lihongx.ma@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-04  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-27 23:26 [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results lihong
2019-12-04  5:45 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).