diff options
author | Tom Stellard <tstellar@redhat.com> | 2017-06-15 23:05:21 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2017-06-15 23:05:21 +0000 |
commit | aa27e87c451f2457876e568114f61505df7c9f62 (patch) | |
tree | bfa2454a809b632c88ee0aa20ba845d6c11ff5a7 /utils/release | |
parent | 4d56b5f5fd4b24a7046b13baf985354f162d5aa7 (diff) |
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
Diffstat (limited to 'utils/release')
-rwxr-xr-x | utils/release/test-release.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/release/test-release.sh b/utils/release/test-release.sh index f5aa3ff0cd0..560220cd53f 100755 --- a/utils/release/test-release.sh +++ b/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 |