test suite reviews and discussions
 help / color / Atom feed
* Re: [dts] [PATCH] tests/l3fwd_base: fix output path to "./output"
  2020-01-21 15:45 [dts] [PATCH] tests/l3fwd_base: fix output path to "./output" Lijuan Tu
@ 2020-01-21  7:51 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-01-21  7:51 UTC (permalink / raw)
  To: dts

applied

> -----Original Message-----
> From: Tu, Lijuan
> Sent: Tuesday, January 21, 2020 11:45 PM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>
> Subject: [dts] [PATCH] tests/l3fwd_base: fix output path to "./output"
> 
> Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
> ---
>  tests/l3fwd_base.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index
> 132bff3..8ec2b7c 100644
> --- a/tests/l3fwd_base.py
> +++ b/tests/l3fwd_base.py
> @@ -78,9 +78,9 @@ class L3fwdBase(object):
>              output_path = os.path.join(self.logger.log_path, suiteName)
>          else:
>              cur_path = os.sep.join(
> -                os.path.realpath(__file__).split(os.sep)[:-3])
> +                os.path.realpath(__file__).split(os.sep)[:-2])
>              output_path = os.path.join(
> -                cur_path, self.logger.log_path, suiteName)
> +                cur_path, self.logger.log_path)
>          if not os.path.exists(output_path):
>              os.makedirs(output_path)
> 
> --
> 1.8.3.1


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

* [dts]  [PATCH] tests/l3fwd_base: fix output path to "./output"
@ 2020-01-21 15:45 Lijuan Tu
  2020-01-21  7:51 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2020-01-21 15:45 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
---
 tests/l3fwd_base.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index 132bff3..8ec2b7c 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -78,9 +78,9 @@ class L3fwdBase(object):
             output_path = os.path.join(self.logger.log_path, suiteName)
         else:
             cur_path = os.sep.join(
-                os.path.realpath(__file__).split(os.sep)[:-3])
+                os.path.realpath(__file__).split(os.sep)[:-2])
             output_path = os.path.join(
-                cur_path, self.logger.log_path, suiteName)
+                cur_path, self.logger.log_path)
         if not os.path.exists(output_path):
             os.makedirs(output_path)
 
-- 
1.8.3.1


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 15:45 [dts] [PATCH] tests/l3fwd_base: fix output path to "./output" Lijuan Tu
2020-01-21  7:51 ` 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