[llvm] r305525 - test-release.sh: Run the test-suite using phase3 clang
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 16:05:21 PDT 2017
Author: tstellar
Date: Thu Jun 15 18:05:21 2017
New Revision: 305525
URL: http://llvm.org/viewvc/llvm-project?rev=305525&view=rev
Log:
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
Modified:
llvm/trunk/utils/release/test-release.sh
Modified: llvm/trunk/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/test-release.sh?rev=305525&r1=305524&r2=305525&view=diff
==============================================================================
--- llvm/trunk/utils/release/test-release.sh (original)
+++ llvm/trunk/utils/release/test-release.sh Thu Jun 15 18:05:21 2017
@@ -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
More information about the llvm-commits
mailing list