diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2015-03-26 21:44:33 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2015-04-02 21:17:51 +0100 |
commit | 7877c269da8dad32b4168b44c27dbb028bca51c4 (patch) | |
tree | 7c2249fab1d3e22c200b1d07ba38dafd46197bf4 | |
parent | a72c48bf04fa9693c587ea1a158e35f53d0450d3 (diff) |
Use '--check all' instead of '--check'.
For native builds, add '--excludecheck gdb' because it is too slow.
Change-Id: I2404fbd3e26140198f7cde1f75360ae8bdc69d60
-rwxr-xr-x | jenkins.sh | 7 | ||||
-rwxr-xr-x | scripts/MakeRelease.job | 2 | ||||
-rwxr-xr-x | test-backport.sh | 5 | ||||
-rwxr-xr-x | validate.sh | 2 |
4 files changed, 12 insertions, 4 deletions
@@ -140,7 +140,7 @@ fi # if runtests is true, then run make check after the build completes if test x"${runtests}" = xtrue; then - check=--check + check="--check all" fi if test x"${target}" != x"native"; then @@ -149,6 +149,11 @@ fi if test x"${target}" != x""; then platform="--target ${target}" +else + # For native builds, we don't check gdb because it is too slow + if test x"${runtests}" = xtrue; then + check="${check} --excludecheck gdb" + fi fi if test x"${libc}" != x; then diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job index 1a6d8f22..c5fd79c8 100755 --- a/scripts/MakeRelease.job +++ b/scripts/MakeRelease.job @@ -67,7 +67,7 @@ gcc_source="gcc-linaro-${version}-${release}.tar.xz" if test x"${runtests}" = xtrue; then chroot="--enable-schroot-test" - check="--check" + check="--check all" else check="" fi diff --git a/test-backport.sh b/test-backport.sh index 43b971a4..7448fbef 100755 --- a/test-backport.sh +++ b/test-backport.sh @@ -111,10 +111,13 @@ done if test x"${target}" != x"native" -a x"${target}" != x; then platform="--target ${target}" targetname=${target} + check="--check all" else # For native builds, we need to know the effective target name to # be able to find the results targetname=${build} + # For native builds, we don't check gdb because it is too slow + check="--check all --excludecheck gdb" fi if test "`echo ${branch} | grep -c gcc.git`" -gt 0; then @@ -177,7 +180,7 @@ while test $i -lt ${#revisions[@]}; do continue fi - bash -x ${topdir}/abe.sh ${gerrit} --disable update ${platform} gcc=gcc.git@${revisions[$i]} --build all --disable make_docs --check + bash -x ${topdir}/abe.sh ${gerrit} --disable update ${platform} gcc=gcc.git@${revisions[$i]} --build all --disable make_docs ${check} if test $? -gt 0; then echo "ERROR: Abe failed!" exit 1 diff --git a/validate.sh b/validate.sh index 98cd247f..6e6d6bbd 100755 --- a/validate.sh +++ b/validate.sh @@ -67,7 +67,7 @@ i=0 while test $i -lt ${#revisions[@]}; do stamps="`ls -C1 ${local_builds}/${build}/${target}/*-stage2-build.stamp`" if test "`echo ${stamps} | grep -c ${revisions[$i]}`" -eq 0; then - ${abe} --target ${target} --check gcc=gcc.git@${revisions[$i]} --build all + ${abe} --target ${target} --check all gcc=gcc.git@${revisions[$i]} --build all fi sums="`find ${local_builds}/${build}/${target} -name \*.sum`" if test x"${sums}" != x; then |