diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-18 17:27:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-18 17:27:12 +0000 |
commit | 630243a8c2d40df137b64246b7ed4363962fd9b4 (patch) | |
tree | 8923c2b4f926bea50a32dd425683eb1c315f740d /utils/release | |
parent | 5e3e811bf6d4d3fa9fa1c6abdaa6fd7ee75dddf9 (diff) |
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
Diffstat (limited to 'utils/release')
-rwxr-xr-x | utils/release/test-release.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/release/test-release.sh b/utils/release/test-release.sh index fd74eb8dcc..6b8edbc9c5 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" |