diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-03-28 04:18:23 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-03-28 04:18:23 -0400 |
commit | 3c0f6d5ced2474240fa14f5594b84c527767edca (patch) | |
tree | a0c6c705582952d573c3f22f25c4e92b5dacd242 /run_tests.sh | |
parent | f84c8dcc22f1499128893e62b0e15b4b592c47ba (diff) |
improvement: rubbos test suite running workflow
JIRA: BOTTLENECK-46
1)add .py file for test suite running entrance and .yaml config files
2)adjust the project test running scripts to top directory
Change-Id: Iad9eedf704e85a8c7e974310938a7d652d008469
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index 9ae89b17..b87d2fcb 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -67,7 +67,7 @@ function run_test(){ case $test_suite in "rubbos") info "Running rubbos test suite" - test_file="/home/opnfv/bottlenecks/testsuite/rubbos/testsuite_story/rubbos_story1" + test_file="/home/opnfv/bottlenecks/testsuites/rubbos/testsuite_story/rubbos_story1" if [[ -f $test_file ]]; then testcases=($(cat $test_file)) else @@ -78,7 +78,8 @@ function run_test(){ check_testcase -rubbos $i #adjust config parameters, different test suite has different methods, take rubbos as an example #run test case, different test suite has different methods - + file={$BASEDIR}/testsuites/rubbos/testcase_cfg/{$i}.yaml + python ${BOTTLENECK_TOP_DIR}/testsuites/rubbos/run_rubbos.py $file done ;; "vstf") |