summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2017-06-15 23:05:21 +0000
committerTom Stellard <tstellar@redhat.com>2017-06-15 23:05:21 +0000
commit2e17366a57ffe0d3ec884097eb340190919fa512 (patch)
tree77314257413e24eb32d09078ce5b1e42d9315530 /llvm/utils
parentf8a2e04812e53732143ec49369f161192c04b7a6 (diff)
downloadbcm5719-llvm-2e17366a57ffe0d3ec884097eb340190919fa512.tar.gz
bcm5719-llvm-2e17366a57ffe0d3ec884097eb340190919fa512.zip
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 llvm-svn: 305525
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/release/test-release.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index f5aa3ff0cd0..560220cd53f 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -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
OpenPOWER on IntegriCloud