test suite reviews and discussions
 help / color / mirror / Atom feed
From: Lijuan Tu <lijuan.tu@intel.com>
To: dts@dpdk.org
Cc: Lijuan Tu <lijuan.tu@intel.com>
Subject: [dts]  [PATCH] tests/l3fwd_base: fix output path to "./output"
Date: Tue, 21 Jan 2020 23:45:28 +0800	[thread overview]
Message-ID: <1579621528-193694-1-git-send-email-lijuan.tu@intel.com> (raw)

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


             reply	other threads:[~2020-01-21  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21 15:45 Lijuan Tu [this message]
2020-01-21  7:51 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1579621528-193694-1-git-send-email-lijuan.tu@intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).