From 630243a8c2d40df137b64246b7ed4363962fd9b4 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 18 Oct 2011 17:27:12 +0000 Subject: [PATCH] Don't exit just because some early commands fail. Use the -k flag when running the checks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142369 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/release/test-release.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/utils/release/test-release.sh b/utils/release/test-release.sh index fd74eb8dcce..6b8edbc9c57 100755 --- a/utils/release/test-release.sh +++ b/utils/release/test-release.sh @@ -12,8 +12,6 @@ # #===------------------------------------------------------------------------===# -set -e # Exit if any command fails - projects="llvm cfe dragonegg test-suite" # Base SVN URL for the sources. @@ -265,13 +263,15 @@ function test_llvmCore() { ObjDir="$3" cd $ObjDir - make check-all \ + make -k check-all \ 2>&1 | tee $LogDir/llvm.check-Phase$Phase-$Flavor.log - make unittests \ + make -k unittests \ 2>&1 | tee $LogDir/llvm.unittests-Phase$Phase-$Flavor.log cd $BuildDir } +set -e # Exit if any command fails + if [ "$do_checkout" = "yes" ]; then export_sources fi @@ -368,6 +368,8 @@ for Flavor in $Flavors ; do done ) 2>&1 | tee $LogDir/testing.$Release-rc$RC.log +set +e + # Woo hoo! echo "### Testing Finished ###" echo "### Logs: $LogDir"