test suite reviews and discussions
 help / color / mirror / Atom feed
From: lihong <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: lihong <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results
Date: Thu, 28 Nov 2019 07:26:05 +0800	[thread overview]
Message-ID: <1574897165-11768-1-git-send-email-lihongx.ma@intel.com> (raw)

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


             reply	other threads:[~2019-11-28  6:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-27 23:26 lihong [this message]
2019-12-04  5:45 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1574897165-11768-1-git-send-email-lihongx.ma@intel.com \
    --to=lihongx.ma@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).