test suite reviews and discussions
 help / color / 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^[$B!'^[(BXiao 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 --]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(32, 31, 30); font-family: &quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">Tested-by:</span><span style="color: rgb(32, 31, 30); font-family: &quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">Xiao
 Qimai &lt;qimaix.xiao@intel.com&gt;</span><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Xiao, QimaiX &lt;qimaix.xiao@intel.com&gt;<br>
<b>Sent:</b> Monday, May 11, 2020 2:06 PM<br>
<b>To:</b> dts@dpdk.org &lt;dts@dpdk.org&gt;<br>
<b>Cc:</b> Xiao, QimaiX &lt;qimaix.xiao@intel.com&gt;<br>
<b>Subject:</b> [dts][PATCH V1]framework/dts: fix multi_sections in execution.cfg sharing same dut issue</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">*. fix dut of second section in execution.cfg can't compile dpdk<br>
<br>
Signed-off-by: Xiao Qimai &lt;qimaix.xiao@intel.com&gt;<br>
---<br>
&nbsp;framework/dts.py | 2 &#43;-<br>
&nbsp;1 file changed, 1 insertion(&#43;), 1 deletion(-)<br>
<br>
diff --git a/framework/dts.py b/framework/dts.py<br>
index a637209..d6c4fe5 100644<br>
--- a/framework/dts.py<br>
&#43;&#43;&#43; b/framework/dts.py<br>
@@ -557,12 +557,12 @@ def run_all(config_file, pkgName, git, patch, skip_setup,<br>
&nbsp;&nbsp;&nbsp;&nbsp; stats_report = StatsReporter(output_dir &#43; '/statistics.txt')<br>
&nbsp;&nbsp;&nbsp;&nbsp; result = Result()<br>
&nbsp;<br>
-&nbsp;&nbsp;&nbsp; crbInsts = []<br>
&nbsp;&nbsp;&nbsp;&nbsp; crbs_conf = CrbsConf()<br>
&nbsp;&nbsp;&nbsp;&nbsp; crbs = crbs_conf.load_crbs_config()<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp; # for all Execution sections<br>
&nbsp;&nbsp;&nbsp;&nbsp; for section in config.sections():<br>
&#43;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; crbInsts = list()<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dts_parse_param(config, section)<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # verify if the delimiter is good if the lists are vertical<br>
-- <br>
1.8.3.1<br>
<br>
</div>
</span></font></div>
</body>
</html>

^ 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox