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

Xiao Qimai qimaix.xiao at intel.com
Tue Sep 8 05:26:40 CEST 2020


Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
 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



More information about the dts mailing list