From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5D5E3A04E0; Thu, 28 Nov 2019 07:51:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 17AD41BF70; Thu, 28 Nov 2019 07:51:35 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 8A9AA1BF6C for ; Thu, 28 Nov 2019 07:51:33 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 22:51:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,252,1571727600"; d="scan'208";a="203342068" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.203]) by orsmga008.jf.intel.com with ESMTP; 27 Nov 2019 22:51:31 -0800 From: lihong To: dts@dpdk.org Cc: lihong Date: Thu, 28 Nov 2019 07:26:05 +0800 Message-Id: <1574897165-11768-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: lihong --- 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