llvm.org GIT mirror llvm / aa27e87
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 Tom Stellard 3 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
415415 $SandboxDir/bin/python $BuildDir/llvm.src/utils/lit/setup.py install
416416 mkdir -p $TestSuiteBuildDir
417417 cd $TestSuiteBuildDir
418 cmake $TestSuiteSrcDir -DTEST_SUITE_LIT=$Lit
418 env CC="$c_compiler" CXX="$cxx_compiler" \
419 cmake $TestSuiteSrcDir -DTEST_SUITE_LIT=$Lit
419420 if ! ( ${MAKE} -j $NumJobs -k check \
420421 2>&1 | tee $LogDir/llvm.check-Phase$Phase-$Flavor.log ) ; then
421422 deferred_error $Phase $Flavor "test suite failed"
547548
548549 ########################################################################
549550 # Testing: Test phase 3
551 c_compiler=$llvmCore_phase3_destdir/usr/local/bin/clang
552 cxx_compiler=$llvmCore_phase3_destdir/usr/local/bin/clang++
550553 echo "# Testing - built with clang"
551554 test_llvmCore 3 $Flavor $llvmCore_phase3_objdir
552555