* [dts] [PATCH V1 1/4] tests/l3fwd: remove check condition
2020-02-10 2:11 [dts] [PATCH V1 0/4] l3fwd: save results to json file yufengmx
@ 2020-02-10 2:11 ` yufengmx
2020-02-10 2:11 ` [dts] [PATCH V1 2/4] tests/l3fwd_em: save results to json file yufengmx
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: yufengmx @ 2020-02-10 2:11 UTC (permalink / raw)
To: dts, lijuan.tu; +Cc: yufengmx
remove check condition.
Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
tests/TestSuite_l3fwd.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tests/TestSuite_l3fwd.py b/tests/TestSuite_l3fwd.py
index ea89cfe..f82d0b6 100644
--- a/tests/TestSuite_l3fwd.py
+++ b/tests/TestSuite_l3fwd.py
@@ -67,9 +67,7 @@ class TestL3fwd(TestCase, L3fwdBase):
"""
Run after each test suite.
"""
- if self:
- self.l3fwd_save_results()
- self = None
+ self.l3fwd_save_results()
def set_up(self):
"""
--
2.21.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dts] [PATCH V1 2/4] tests/l3fwd_em: save results to json file
2020-02-10 2:11 [dts] [PATCH V1 0/4] l3fwd: save results to json file yufengmx
2020-02-10 2:11 ` [dts] [PATCH V1 1/4] tests/l3fwd: remove check condition yufengmx
@ 2020-02-10 2:11 ` yufengmx
2020-02-10 2:11 ` [dts] [PATCH V1 3/4] tests/l3fwd_lpm_ipv4_rfc2544: " yufengmx
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: yufengmx @ 2020-02-10 2:11 UTC (permalink / raw)
To: dts, lijuan.tu; +Cc: yufengmx
save results to json file.
Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
tests/TestSuite_l3fwd_em.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_l3fwd_em.py b/tests/TestSuite_l3fwd_em.py
index c586759..2373aa3 100644
--- a/tests/TestSuite_l3fwd_em.py
+++ b/tests/TestSuite_l3fwd_em.py
@@ -65,7 +65,7 @@ class TestL3fwdEm(TestCase, L3fwdBase):
"""
Run after each test suite.
"""
- pass
+ self.l3fwd_save_results(json_file="{}.json".format(self.suite_name))
def set_up(self):
"""
--
2.21.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dts] [PATCH V1 3/4] tests/l3fwd_lpm_ipv4_rfc2544: save results to json file
2020-02-10 2:11 [dts] [PATCH V1 0/4] l3fwd: save results to json file yufengmx
2020-02-10 2:11 ` [dts] [PATCH V1 1/4] tests/l3fwd: remove check condition yufengmx
2020-02-10 2:11 ` [dts] [PATCH V1 2/4] tests/l3fwd_em: save results to json file yufengmx
@ 2020-02-10 2:11 ` yufengmx
2020-02-10 2:11 ` [dts] [PATCH V1 4/4] tests/l3fwd_lpm_ipv6: " yufengmx
2020-02-10 9:06 ` [dts] [PATCH V1 0/4] l3fwd: " Tu, Lijuan
4 siblings, 0 replies; 6+ messages in thread
From: yufengmx @ 2020-02-10 2:11 UTC (permalink / raw)
To: dts, lijuan.tu; +Cc: yufengmx
save results to json file.
Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
tests/TestSuite_l3fwd_lpm_ipv4_rfc2544.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_l3fwd_lpm_ipv4_rfc2544.py b/tests/TestSuite_l3fwd_lpm_ipv4_rfc2544.py
index 380d2e9..ed352fd 100644
--- a/tests/TestSuite_l3fwd_lpm_ipv4_rfc2544.py
+++ b/tests/TestSuite_l3fwd_lpm_ipv4_rfc2544.py
@@ -66,7 +66,7 @@ class TestL3fwdLpmIpv4Rfc2544(TestCase, L3fwdBase):
"""
Run after each test suite.
"""
- pass
+ self.l3fwd_save_results(json_file="{}.json".format(self.suite_name))
def set_up(self):
"""
--
2.21.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dts] [PATCH V1 4/4] tests/l3fwd_lpm_ipv6: save results to json file
2020-02-10 2:11 [dts] [PATCH V1 0/4] l3fwd: save results to json file yufengmx
` (2 preceding siblings ...)
2020-02-10 2:11 ` [dts] [PATCH V1 3/4] tests/l3fwd_lpm_ipv4_rfc2544: " yufengmx
@ 2020-02-10 2:11 ` yufengmx
2020-02-10 9:06 ` [dts] [PATCH V1 0/4] l3fwd: " Tu, Lijuan
4 siblings, 0 replies; 6+ messages in thread
From: yufengmx @ 2020-02-10 2:11 UTC (permalink / raw)
To: dts, lijuan.tu; +Cc: yufengmx
save results to json file.
Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
tests/TestSuite_l3fwd_lpm_ipv6.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_l3fwd_lpm_ipv6.py b/tests/TestSuite_l3fwd_lpm_ipv6.py
index c9dd0ab..890479e 100644
--- a/tests/TestSuite_l3fwd_lpm_ipv6.py
+++ b/tests/TestSuite_l3fwd_lpm_ipv6.py
@@ -65,7 +65,7 @@ class TestL3fwdLpmIpv6(TestCase, L3fwdBase):
"""
Run after each test suite.
"""
- pass
+ self.l3fwd_save_results(json_file="{}.json".format(self.suite_name))
def set_up(self):
"""
--
2.21.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dts] [PATCH V1 0/4] l3fwd: save results to json file
2020-02-10 2:11 [dts] [PATCH V1 0/4] l3fwd: save results to json file yufengmx
` (3 preceding siblings ...)
2020-02-10 2:11 ` [dts] [PATCH V1 4/4] tests/l3fwd_lpm_ipv6: " yufengmx
@ 2020-02-10 9:06 ` Tu, Lijuan
4 siblings, 0 replies; 6+ messages in thread
From: Tu, Lijuan @ 2020-02-10 9:06 UTC (permalink / raw)
To: Mo, YufengX, dts
Applied the series
> -----Original Message-----
> From: Mo, YufengX
> Sent: Monday, February 10, 2020 10:12 AM
> To: dts@dpdk.org; Tu, Lijuan <lijuan.tu@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V1 0/4] l3fwd: save results to json file
>
> save results to json file.
>
>
> yufengmx (4):
> tests/l3fwd: remove check condition
> tests/l3fwd_em: save results to json file
> tests/l3fwd_lpm_ipv4_rfc2544: save results to json file
> tests/l3fwd_lpm_ipv6: save results to json file
>
> tests/TestSuite_l3fwd.py | 4 +---
> tests/TestSuite_l3fwd_em.py | 2 +-
> tests/TestSuite_l3fwd_lpm_ipv4_rfc2544.py | 2 +-
> tests/TestSuite_l3fwd_lpm_ipv6.py | 2 +-
> 4 files changed, 4 insertions(+), 6 deletions(-)
>
> --
> 2.21.0
^ permalink raw reply [flat|nested] 6+ messages in thread