[dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue

Xiao, QimaiX qimaix.xiao at intel.com
Mon May 11 09:52:41 CEST 2020


Tested-by:Xiao Qimai <qimaix.xiao at intel.com>
________________________________
From: Xiao, QimaiX <qimaix.xiao at intel.com>
Sent: Monday, May 11, 2020 2:06 PM
To: dts at dpdk.org <dts at dpdk.org>
Cc: Xiao, QimaiX <qimaix.xiao at intel.com>
Subject: [dts][PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue

*. fix dut of second section in execution.cfg can't compile dpdk

Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
 framework/dts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/dts.py b/framework/dts.py
index a637209..d6c4fe5 100644
--- a/framework/dts.py
+++ b/framework/dts.py
@@ -557,12 +557,12 @@ def run_all(config_file, pkgName, git, patch, skip_setup,
     stats_report = StatsReporter(output_dir + '/statistics.txt')
     result = Result()

-    crbInsts = []
     crbs_conf = CrbsConf()
     crbs = crbs_conf.load_crbs_config()

     # for all Execution sections
     for section in config.sections():
+        crbInsts = list()
         dts_parse_param(config, section)

         # verify if the delimiter is good if the lists are vertical
--
1.8.3.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dts/attachments/20200511/bc6b6982/attachment.html>


More information about the dts mailing list