diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-07-04 16:25:49 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-07-04 16:25:49 +0200 |
commit | bac7ed3a153c11e17a9a57e44761c2471fe40ca9 (patch) | |
tree | ecc507bfbefca32812c8a7a4c32a188066e214ba /MakeRelease.job | |
parent | e3281dc7b4a384e82df4ed5b6e70f78da3f5139e (diff) |
scripts/MakeRelease.job: Remove broken --check support.
We do not use --check when building a release anyway.
Change-Id: I55b0d90bdded21876fcdffa69b4d462cd5a69c0c
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-x | MakeRelease.job | 41 |
1 files changed, 3 insertions, 38 deletions
diff --git a/MakeRelease.job b/MakeRelease.job index b0f3e83a..d6515cbe 100755 --- a/MakeRelease.job +++ b/MakeRelease.job @@ -33,7 +33,6 @@ else fi target="" tarbin="" -check="" ref="snapshots-ref" fileserver="148.251.136.42" extra= @@ -95,10 +94,6 @@ if test x"${toolchain_config}" != x"" \ extra="${extra} --extraconfigdir ../config/${toolchain_config}" fi -if test x"${runtests}" = xtrue; then - chroot="--enable-schroot-test" -fi - guess="`${abe_dir}/config.guess`" machine="`gcc -dumpmachine`" if test x"${guess}" != x"${machine}"; then @@ -110,18 +105,11 @@ fi cd ${user_workspace}/_build if ! test -e host.conf; then - $CONFIG_SHELL ${abe_dir}/configure ${chroot} --with-local-snapshots=${user_snapshots} \ + $CONFIG_SHELL ${abe_dir}/configure --with-local-snapshots=${user_snapshots} \ --with-git-reference-dir=${shared}/snapshots --with-fileserver=${fileserver} --with-remote-snapshots=${ref} fi -if test x"${runtests}" = xtrue; then - chroot="--enable-schroot-test" - check="--check all" -else - check="" -fi - if test x"${date}" != x; then release="${date}" fi @@ -149,14 +137,14 @@ if test x"${tarbin}" = x"yes"; then rm -f ${logfile} # Canadian cross builds require a Linux hosted cross compiler first if test x"${canadian}" = x"true"; then - $CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} ${check} ${srcs} ${platform} --build all ${libc} ${extra} >> ${logfile} + $CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} ${srcs} ${platform} --build all ${libc} ${extra} >> ${logfile} host="--host i686-w64-mingw32" rm -fr ${local_builds}/${host}/${target}/ # update="--disable update" else host="" fi - $CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} --tarbin ${check} ${srcs} ${platform} ${host} --build all ${libc} ${extra} >> ${logfile} + $CONFIG_SHELL ${abe_dir}/abe.sh ${update} --release ${release} --tarbin ${srcs} ${platform} ${host} --build all ${libc} ${extra} >> ${logfile} fi # force a failure if abe has build problems. @@ -188,29 +176,6 @@ if test x"${tarbin}" = xyes; then scp ${manifest} ${fileserver}:${binaries}/ tarballs="`find ${user_snapshots} -name \*${release}\*.xz -o -name \*${release}\*.asc`" scp ${tarballs} ${fileserver}:${binaries}/ - if test x"${check}" != x; then - sums="`find ${user_workspace} -name \*.sum`" - logs="`find ${user_workspace} -name \*.log`" - if test x"${sums}" != x; then - xz ${sums} ${logs} - sums="`echo ${sums} | sed -e 's/\.sum/\.sum.xz/g'`" - logs="`echo ${logs} | sed -e 's/\.log/\.log.xz/g'`" - ssh ${fileserver} "mkdir -p ${binaries}/" - scp ${sums} ${logs} ${fileserver}:${binaries}/ - else - echo "ERROR: No test results were found!" - fi - - # Diff the two directories - scp ${abe_dir}/tcwgweb.sh ${fileserver}:/tmp/tcwgweb$$.sh - out="`ssh ${fileserver} "if test -e ${bases}; then echo YES; else echo NO; fi"`" - if test x"${out}" = x"YES"; then - out="`ssh ${fileserver} /tmp/tcwgweb$$.sh --email --tdir ${bases} ${binaries}`" - if test "`echo ${out} | grep -c REGRESSIONS`"; then - exit 1 - fi - fi - fi fi exit 0 |