diff options
author | Yang Yu <Gabriel.yuyang@huawei.com> | 2017-08-03 13:00:08 +0800 |
---|---|---|
committer | Yang Yu <Gabriel.yuyang@huawei.com> | 2017-08-03 13:00:08 +0800 |
commit | d4291866c5b1016adcd1b83d47968bdf714698de (patch) | |
tree | 36888e7d5674bc38aef8b090f5b1cab5c3d0b749 /jjb/bottlenecks | |
parent | 432d3902c671880425af81c9b4bf00b3a794d547 (diff) |
Add test case run command introduction
JIRA: BOTTLENECK-158
Print testcase run command to ease reading log
Change-Id: I41362349d23865d0a485d80856cbbc4658ee945a
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'jjb/bottlenecks')
-rw-r--r-- | jjb/bottlenecks/bottlenecks-run-suite.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/jjb/bottlenecks/bottlenecks-run-suite.sh b/jjb/bottlenecks/bottlenecks-run-suite.sh index 06fb5dacd..6bab0e4d2 100644 --- a/jjb/bottlenecks/bottlenecks-run-suite.sh +++ b/jjb/bottlenecks/bottlenecks-run-suite.sh @@ -67,9 +67,13 @@ if [[ $SUITE_NAME == *posca* ]]; then if [[ $SUITE_NAME == posca_stress_traffic ]]; then TEST_CASE=posca_factor_system_bandwidth - docker exec bottlenecks-load-master python ${POSCA_SCRIPT}/../run_testsuite.py testcase $TEST_CASE $REPORT + testcase_cmd="docker exec bottlenecks-load-master python ${POSCA_SCRIPT}/../run_testsuite.py testcase $TEST_CASE $REPORT" + echo "BOTTLENECKS INFO: running test case ${TEST_CASE} with report indicator: ${testcase_cmd}" + ${testcase_cmd} >$redirect elif [[ $SUITE_NAME == posca_stress_ping ]]; then TEST_CASE=posca_factor_ping - docker exec bottlenecks-load-master python ${POSCA_SCRIPT}/../run_testsuite.py testcase $TEST_CASE $REPORT + testcase_cmd="docker exec bottlenecks-load-master python ${POSCA_SCRIPT}/../run_testsuite.py testcase $TEST_CASE $REPORT" + echo "BOTTLENECKS INFO: running test case ${TEST_CASE} with report indicator: ${testcase_cmd}" + ${testcase_cmd} >$redirect fi fi |