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 C4F77A04B1; Tue, 8 Sep 2020 05:51:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8A5AC1C198; Tue, 8 Sep 2020 05:51:33 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 120491C134 for ; Tue, 8 Sep 2020 05:51:31 +0200 (CEST) IronPort-SDR: MtmqwcwSksCASf8XOw3gK5K9KWehfNjhqN/9bGjY2RzG4okZSTMCFSouCPQN0l3kTKG84HWOH6 L6p7UdNEwG4w== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="158088233" X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="158088233" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 20:51:31 -0700 IronPort-SDR: dlaARiPNp3wAhmyH5IDUsXKuZUXlHtSiMRRMqXQsX1v6NWLVf71/YhoLUv5OndONisieJt7uSr oltTQoM2OtQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,404,1592895600"; d="scan'208";a="407003002" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by fmsmga001.fm.intel.com with ESMTP; 07 Sep 2020 20:51:30 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Tue, 8 Sep 2020 03:26:40 +0000 Message-Id: <20200908032645.11852-3-qimaix.xiao@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200908032645.11852-1-qimaix.xiao@intel.com> References: <20200908032645.11852-1-qimaix.xiao@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 2/7]framework/dts: add suite log for scapy session 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: Xiao Qimai --- framework/dts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/dts.py b/framework/dts.py index 2d86bc35..2a657e53 100644 --- a/framework/dts.py +++ b/framework/dts.py @@ -265,6 +265,10 @@ def dts_log_testsuite(duts, tester, suite_obj, log_handler, test_classname): """ log_handler.config_suite(test_classname, 'dts') tester.logger.config_suite(test_classname, 'tester') + if hasattr(tester, 'logger_alt'): + tester.logger_alt.config_suite(test_classname, 'tester') + if hasattr(tester, 'logger_scapy'): + tester.logger_scapy.config_suite(test_classname, 'tester') for dutobj in duts: dutobj.logger.config_suite(test_classname, 'dut') -- 2.25.1