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 CF43BA0573; Thu, 5 Mar 2020 07:41:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5E612BB8; Thu, 5 Mar 2020 07:41:06 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A480923D for ; Thu, 5 Mar 2020 07:41:05 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2020 22:41:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,517,1574150400"; d="scan'208";a="274973398" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 04 Mar 2020 22:41:03 -0800 From: hanyingya To: dts@dpdk.org Cc: hanyingya Date: Thu, 5 Mar 2020 14:46:30 +0800 Message-Id: <1583390790-56710-1-git-send-email-yingyax.han@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1]tests/nic_single_core: fix tests failed without saving result 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: hanyingya --- tests/TestSuite_nic_single_core_perf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index 5fafe5f..0c61db2 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -348,11 +348,11 @@ class TestNicSingleCorePerf(TestCase): row_dict0['parameters'].append(row_dict3) json_obj[case_name].append(row_dict0) status_result.append(row_dict0['status']) - self.verify("FAIL" not in status_result, "Excessive gap between test results and expectations") with open(os.path.join(rst.path2Result, '{0:s}_single_core_perf.json'.format( self.nic)), 'w') as fp: json.dump(json_obj, fp) + self.verify("FAIL" not in status_result, "Excessive gap between test results and expectations") def set_fields(self): """ -- 2.17.2