summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryufengmx <yufengx.mo@intel.com>2017-01-04 11:43:42 +0800
committerMarvin Liu <yong.liu@intel.com>2017-01-16 10:46:53 +0800
commit023141f697fc40348319a5b436db34151a629a22 (patch)
tree95c3d07ba237b6f261948740d39bcf4bf842e32a
parent6873335c61baba3a6207c1b4d552e343941db153 (diff)
framework: fix dts suite-dir parameter not work
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>
-rwxr-xr-xframework/main.py2
1 files changed, 1 insertions, 1 deletions
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