[PATCH] D34246: test-release.sh: Run the test-suite using phase3 clang
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 13:04:31 PDT 2017
tstellar created this revision.
We were using the system compiler to run the test suite.
https://reviews.llvm.org/D34246
Files:
utils/release/test-release.sh
Index: utils/release/test-release.sh
===================================================================
--- utils/release/test-release.sh
+++ utils/release/test-release.sh
@@ -416,7 +416,8 @@
$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 @@
########################################################################
# 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34246.102711.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170615/268ca9b5/attachment.bin>
More information about the llvm-commits
mailing list