mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
test-release.sh: Run the test-suite using phase3 clang
Summary: We were using the system compiler to run the test suite. Reviewers: hansw Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34246 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d56b5f5fd
commit
aa27e87c45
@ -416,7 +416,8 @@ function test_llvmCore() {
|
||||
$SandboxDir/bin/python $BuildDir/llvm.src/utils/lit/setup.py install
|
||||
mkdir -p $TestSuiteBuildDir
|
||||
cd $TestSuiteBuildDir
|
||||
cmake $TestSuiteSrcDir -DTEST_SUITE_LIT=$Lit
|
||||
env CC="$c_compiler" CXX="$cxx_compiler" \
|
||||
cmake $TestSuiteSrcDir -DTEST_SUITE_LIT=$Lit
|
||||
if ! ( ${MAKE} -j $NumJobs -k check \
|
||||
2>&1 | tee $LogDir/llvm.check-Phase$Phase-$Flavor.log ) ; then
|
||||
deferred_error $Phase $Flavor "test suite failed"
|
||||
@ -548,6 +549,8 @@ for Flavor in $Flavors ; do
|
||||
|
||||
########################################################################
|
||||
# Testing: Test phase 3
|
||||
c_compiler=$llvmCore_phase3_destdir/usr/local/bin/clang
|
||||
cxx_compiler=$llvmCore_phase3_destdir/usr/local/bin/clang++
|
||||
echo "# Testing - built with clang"
|
||||
test_llvmCore 3 $Flavor $llvmCore_phase3_objdir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user