Skip to content

Commit

Permalink
Don't exit just because some early commands fail. Use the -k flag whe…
Browse files Browse the repository at this point in the history
…n running the checks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142369 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Oct 18, 2011
1 parent 5e3e811 commit 630243a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions utils/release/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#
#===------------------------------------------------------------------------===#

set -e # Exit if any command fails

projects="llvm cfe dragonegg test-suite"

# Base SVN URL for the sources.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 630243a

Please sign in to comment.