[dts] [PATCH V1]framework: 'suite-dir' won't work.

yufengmx yufengx.mo at intel.com
Wed Jan 4 04:43:42 CET 2017


*. 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 at 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



More information about the dts mailing list