aboutsummaryrefslogtreecommitdiff
path: root/tcwg-test-release-matrix.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-05-18 10:48:20 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2017-05-31 08:57:14 +0000
commit7d470ed1e5bff50ca7893f1ae5232b62c3ee7591 (patch)
tree0948ff1f0ab493a3a269d94057650be0c459d71c /tcwg-test-release-matrix.yaml
parent3998b3a9814e1656de6c6691384757caee7f0e6e (diff)
tcwg-test-release-matrix: Support http://.../latest/ urls
... by reworking logic to determine version and moving it to TestRelease.job in jenkins-scripts. Change-Id: Ie37f0ef87032d7d818ec3fb724a8d215e40103ab
Diffstat (limited to 'tcwg-test-release-matrix.yaml')
-rw-r--r--tcwg-test-release-matrix.yaml8
1 files changed, 2 insertions, 6 deletions
diff --git a/tcwg-test-release-matrix.yaml b/tcwg-test-release-matrix.yaml
index e9c4b816d7..72b9294f60 100644
--- a/tcwg-test-release-matrix.yaml
+++ b/tcwg-test-release-matrix.yaml
@@ -112,9 +112,6 @@
exit 1
fi
- fullver=$(basename ${tarball_url})
- gccver=${fullver%%-*}
-
case ${label} in
*32*)
host=i686
@@ -146,14 +143,13 @@
trap "${CONTAINERS_CLEANUP}" EXIT
fi
- # FIXME: temporary hack: hardcode the ".1" in GCC version number
- ${BUILD_CONTAINER} "cd ${WORKSPACE} && ${shell} ${WORKSPACE}/TestRelease.job --tarball ${tarball_url}/${target}/gcc-linaro-${gccver}.1-${release}-${host}_${target}.tar.xz --workspace ${WORKSPACE}/linux --tcwg-regression-rev ${tcwg_regression_rev}"
+ container_exec ${shell} ${WORKSPACE}/TestRelease.job --tarball "${tarball_url}/${target}/gcc-linaro-*-*-${host}_${target}.tar.xz" --workspace ${WORKSPACE}/linux --tcwg-regression-rev ${tcwg_regression_rev}
# Test the mingw toolchain on 32 bit host only
case ${label} in
*32*)
host=i686-mingw32
- ${BUILD_CONTAINER} "cd ${WORKSPACE} && ${shell} ${WORKSPACE}/TestRelease.job --tarball ${tarball_url}/${target}/gcc-linaro-${gccver}.1-${release}-${host}_${target}.tar.xz --workspace ${WORKSPACE}/mingw --tcwg-regression-rev ${tcwg_regression_rev}"
+ container_exec ${shell} ${WORKSPACE}/TestRelease.job --tarball "${tarball_url}/${target}/gcc-linaro-*-*-${host}_${target}.tar.xz" --workspace ${WORKSPACE}/mingw --tcwg-regression-rev ${tcwg_regression_rev}
;;
esac