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 086DEA04B5; Wed, 4 Dec 2019 06:45:18 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8D965F13; Wed, 4 Dec 2019 06:45:17 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6D3A958C4 for ; Wed, 4 Dec 2019 06:45:16 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2019 21:45:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,276,1571727600"; d="scan'208";a="361448711" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga004.jf.intel.com with ESMTP; 03 Dec 2019 21:45:15 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Dec 2019 21:45:14 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Dec 2019 21:45:14 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.46]) with mapi id 14.03.0439.000; Wed, 4 Dec 2019 13:45:12 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] framework/dts: remove redundant operations about tear_downall and save_all_results Thread-Index: AQHVpbhQCjTgMOjYY0CxQE0EN7HJRKepgICA Date: Wed, 4 Dec 2019 05:45:11 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB7D301@SHSMSX101.ccr.corp.intel.com> References: <1574897165-11768-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1574897165-11768-1-git-send-email-lihongx.ma@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWE4MWY0MjctNDRkYy00ZWM2LWJjYTctMGQ3NzljYjA5Zjk2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiU1pUYWE0a0Zibnc4a0hqd0E4NGg1ZlN2YTdaK2VPY3hGcFVLMnFiTEtNNGdZWXdHM1wvOXdaemlPWkFvT0tzT2cifQ== x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" 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 > Subject: [dts] [PATCH V1] framework/dts: remove redundant operations > about tear_downall and save_all_results >=20 > Signed-off-by: lihong > --- > framework/dts.py | 4 ---- > 1 file changed, 4 deletions(-) >=20 > 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): >=20 > if suite_obj.execute_setup_all(): > suite_obj.execute_test_cases() > - suite_obj.execute_tear_downall() >=20 > # save suite cases result > result.copy_suite(suite_obj.get_result()) > - save_all_results() >=20 > 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