diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-05 11:46:07 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-09 13:58:14 +0000 |
commit | 339d2920e4fad0c490f1f1334a2b154d5a737b1e (patch) | |
tree | b97525a7c78c879707a892aa185cb63ca116a31a /TestRelease.job | |
parent | b50982a58486e5bc6dfc9f4c181def3172e57522 (diff) |
TestRelease.job: Add --tcwg-regression-rev option.
When called from tcwg-regression-detection, we check
an old compiler (6.2-2016.11), which fails to pass
some of the tcwg-regression tests. With this option,
we can choose to use a known-to-pass version of the
tests.
Change-Id: I1c5672f2a1e633324cf7e662157aaefa36b0e561
Diffstat (limited to 'TestRelease.job')
-rwxr-xr-x | TestRelease.job | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TestRelease.job b/TestRelease.job index ac171046..410ab331 100755 --- a/TestRelease.job +++ b/TestRelease.job @@ -8,14 +8,16 @@ else fi user_workspace="$PWD" +tcwg_regression_rev=master -OPTS="`getopt -o w:t:h -l tarball:,workspace:,help`" +OPTS="`getopt -o w:t:h -l tarball:,workspace:,help,tcwg-regression-rev:`" while test $# -gt 0; do echo 1 = "$1" case $1 in - -w|--workspace) user_workspace=$2 ;; - -t|--tarball) tarball=$2 ;; + -w|--workspace) user_workspace=$2; shift ;; + -t|--tarball) tarball=$2; shift ;; -h|--help) usage ;; + --tcwg-regression-rev) tcwg_regression_rev=$2; shift ;; --) break ;; esac shift @@ -139,6 +141,7 @@ else fi git clone --depth 1 https://git-us.linaro.org/toolchain/tcwg-regression +git -C tcwg-regression checkout ${tcwg_regression_rev} make -C tcwg-regression check TOOLCHAIN=${testdir}/${dir} TARGET=${target} if [ $? -ne 0 ]; then echo "TCWG regression tests FAILED" |