mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 05:47:13 +00:00
Don't exit just because some early commands fail. Use the -k flag when running the checks.
llvm-svn: 142369
This commit is contained in:
parent
8c454cac49
commit
8e0af5ff3b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user