test suite reviews and discussions
 help / color / mirror / Atom feed
From: yufengmx <yufengx.mo@intel.com>
To: dts@dpdk.org
Cc: yufengmx <yufengx.mo@intel.com>
Subject: [dts] [PATCH V1]framework: 'suite-dir' won't work.
Date: Wed,  4 Jan 2017 11:43:42 +0800	[thread overview]
Message-ID: <1483501422-25523-2-git-send-email-yufengx.mo@intel.com> (raw)
In-Reply-To: <1483501422-25523-1-git-send-email-yufengx.mo@intel.com>


*. suites module path should be loaded in dts/run_all. import tests directory in main.py will
   cause suite-dir option effectless, input tests directory is always overlapped by default tests.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 framework/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/main.py b/framework/main.py
index 5d7d051..a018af0 100755
--- a/framework/main.py
+++ b/framework/main.py
@@ -43,7 +43,7 @@ os.chdir("../")
 cwd = os.getcwd()
 sys.path.append(cwd + '/nics')
 sys.path.append(cwd + '/framework')
-sys.path.append(cwd + '/tests')
+#sys.path.append(cwd + '/tests') # suites module path should be loaded in dts/run_all, not here
 sys.path.append(cwd + '/dep')
 
 import dts
-- 
1.9.3

  reply	other threads:[~2017-01-04  3:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04  3:43 [dts] [PATCH V1]framework: fix suites module import issue yufengmx
2017-01-04  3:43 ` yufengmx [this message]
2017-01-16  2:42   ` [dts] [PATCH V1]framework: 'suite-dir' won't work Liu, Yong

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=1483501422-25523-2-git-send-email-yufengx.mo@intel.com \
    --to=yufengx.mo@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).