summaryrefslogtreecommitdiffstats
path: root/testsuites/posca/run_posca.py
diff options
context:
space:
mode:
authorYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2016-11-30 09:19:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-30 09:19:26 +0000
commit655a917b161a458d3c4446e4e5e4b208a04f3ade (patch)
tree75cc670b11e3d360f976c183e2e70bc01192f024 /testsuites/posca/run_posca.py
parente78407bcfa9f4806f2d2605136b4cd84725510f5 (diff)
parentab7055e7dafc6a1cf2f9b1daf755602ec437b9bf (diff)
Merge "POSCA test case complete"
Diffstat (limited to 'testsuites/posca/run_posca.py')
-rwxr-xr-xtestsuites/posca/run_posca.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/posca/run_posca.py b/testsuites/posca/run_posca.py
index 48376b54..e5e11e9f 100755
--- a/testsuites/posca/run_posca.py
+++ b/testsuites/posca/run_posca.py
@@ -19,10 +19,11 @@ INTERPRETER = "/usr/bin/python"
def posca_run(arg):
print("========== run posca ==========")
- if(arg == "factor_system_bandwidth"):
+ print(arg)
+ if(arg == "posca_factor_system_bandwidth"):
print("========== run posca_system_bandwidth ===========")
cmd = '/home/opnfv/bottlenecks/testsuites/posca/testcase_script/\
- posca_factor_system_bandwidth.py'
+posca_factor_system_bandwidth.py'
pargs = [INTERPRETER, cmd]
sub_result = subprocess.Popen(pargs)
sub_result.wait()
@@ -34,7 +35,7 @@ def posca_env_check():
def main():
# para_testname = sys.argv[0]
- para_test_arg = sys.argv[1]
+ para_test_arg = sys.argv[2]
posca_env_check()
posca_run(para_test_arg)
sys.exit(0)