diff mbox series

[V1,2/7] framework/dts: add suite log for scapy session

Message ID 20200908032645.11852-3-qimaix.xiao@intel.com (mailing list archive)
State Accepted
Headers show
Series update packet related modules | expand

Commit Message

Xiao, QimaiX Sept. 8, 2020, 3:26 a.m. UTC
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
 framework/dts.py | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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')