test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue
@ 2020-05-11  6:06 Xiao Qimai
  2020-05-11  7:52 ` Xiao, QimaiX
  2020-05-12  7:37 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xiao Qimai @ 2020-05-11  6:06 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue
  2020-05-11  6:06 [dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue Xiao Qimai
@ 2020-05-11  7:52 ` Xiao, QimaiX
  2020-05-12  7:37 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xiao, QimaiX @ 2020-05-11  7:52 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

Tested-by:Xiao Qimai <qimaix.xiao@intel.com>
________________________________
From: Xiao, QimaiX <qimaix.xiao@intel.com>
Sent: Monday, May 11, 2020 2:06 PM
To: dts@dpdk.org <dts@dpdk.org>
Cc: Xiao, QimaiX <qimaix.xiao@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@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


[-- Attachment #2: Type: text/html, Size: 2969 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue
  2020-05-11  6:06 [dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue Xiao Qimai
  2020-05-11  7:52 ` Xiao, QimaiX
@ 2020-05-12  7:37 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-05-12  7:37 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai
> Sent: Monday, May 11, 2020 2:07 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@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@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-12  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11  6:06 [dts] [PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue Xiao Qimai
2020-05-11  7:52 ` Xiao, QimaiX
2020-05-12  7:37 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).