summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2018-02-27 16:03:07 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2018-02-27 17:09:56 +0800
commitc29e36280713aa232a19e0d3612bae0948601837 (patch)
treebd02444dec1f1a8476230c9273087c5dc81b7bd0 /tests
parentb4f529f1ae6d95c1bfb9a2357ceb36fa3f7eb987 (diff)
Delete the hardcoding parameter "sut_type"
SUT already can be passed from CLI. Change-Id: I3ff68ebf94ce25dfc0a42964cf1aafc8e58da4b6 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ci/experimental.sh6
-rwxr-xr-xtests/ci/periodic.sh4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/ci/experimental.sh b/tests/ci/experimental.sh
index e4bcc577..53de1db4 100755
--- a/tests/ci/experimental.sh
+++ b/tests/ci/experimental.sh
@@ -20,7 +20,6 @@ export CI_DEBUG='false'
export TEST_SUITE='compute'
export TESTAPI_URL=''
export SSH_CREDENTIALS='/root/.ssh'
-
export WORKSPACE=${WORKSPACE:-$(pwd)}
source ${script_dir}/utils/start_services.sh
@@ -31,7 +30,8 @@ qtip_repo='/home/opnfv/repos/qtip'
docker cp . ${TEST_SUITE}_qtip:${qtip_repo}
docker exec ${TEST_SUITE}_qtip bash -c "cd ${qtip_repo} && pip install -U -e ."
-docker exec ${TEST_SUITE}_qtip bash -x ${qtip_repo}/qtip/scripts/quickstart.sh
-echo "QTIP: Verify ${TEST_SUITE} done!"
+docker exec ${TEST_SUITE}_qtip bash -x ${qtip_repo}/qtip/scripts/quickstart.sh -u {SUT}
+
+echo "QTIP: Verify ${TEST_SUITE} on ${SUT} done!"
exit 0
diff --git a/tests/ci/periodic.sh b/tests/ci/periodic.sh
index 87fa7627..5bbdf517 100755
--- a/tests/ci/periodic.sh
+++ b/tests/ci/periodic.sh
@@ -13,8 +13,8 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source ${script_dir}/utils/start_services.sh
-docker exec ${TEST_SUITE}_qtip bash -x /home/opnfv/repos/qtip/qtip/scripts/quickstart.sh
+docker exec ${TEST_SUITE}_qtip bash -x /home/opnfv/repos/qtip/qtip/scripts/quickstart.sh -u ${SUT}
-echo "${TEST_SUITE} QPI done!"
+echo "${TEST_SUITE} QPI on ${SUT} done!"
exit 0