summaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorting wu <ting.wu@enea.com>2018-03-20 14:17:28 +0100
committerting wu <ting.wu@enea.com>2018-03-20 14:28:32 +0100
commit7f629a04afe0169fef65acd85c8783b37bfc5918 (patch)
treeb76db0d6b9d3bf5eaec0014c9b9eac479cc7a1e7 /tests/ci
parent744fea0158416a14b08c378db227c50a433d89c4 (diff)
Add "YARDSTICK_REPO_DIR" into tests path
In the CI flow, script "load_images.sh", variable ${YARDSTICK_REPO_DIR} needs to be added in front of tests path to avoid the error: sed: can't read tests/opnfv/test_cases/*: No such file or directory This fix is specific to arm64 JIRA: YARDSTICK-1086 Change-Id: If19b295233bb7313226dae70df016ad236bed2ac Signed-off-by: ting wu <ting.wu@enea.com>
Diffstat (limited to 'tests/ci')
-rwxr-xr-xtests/ci/load_images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh
index d723823ee..5df769c0d 100755
--- a/tests/ci/load_images.sh
+++ b/tests/ci/load_images.sh
@@ -251,7 +251,7 @@ main()
load_yardstick_image
if [ "${YARD_IMG_ARCH}" == "arm64" ]; then
#We have overlapping IP with the real network
- for filename in tests/opnfv/test_cases/*; do
+ for filename in ${YARDSTICK_REPO_DIR}/tests/opnfv/test_cases/*; do
sed -i "s/cidr: '10.0.1.0\/24'/cidr: '10.3.1.0\/24'/g" "${filename}"
done
else