diff options
-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" |