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
This commit is contained in:
Bill Wendling 2011-10-18 17:27:12 +00:00
parent 5e3e811bf6
commit 630243a8c2

View File

@ -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"