* 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, other threads:[~2020-01-21 7:51 UTC | newest]
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
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).