llvm.org GIT mirror llvm / e99f33a
test-release.sh: Remove workaround for test-suite build Summary: We aren't actually building the test suite, so this isn't needed. Reviewers: rengolin, hansw Reviewed By: rengolin Subscribers: rengolin, llvm-commits Differential Revision: https://reviews.llvm.org/D29840 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305017 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 3 years ago
1 changed file(s) with 17 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
172172 shift
173173 done
174174
175 if [ "$do_test_suite" = "yes" ]; then
176 # See llvm.org/PR26146.
177 echo Skipping test-suite build when using CMake.
178 echo It will still be exported.
179 do_test_suite="export-only"
180 fi
181
182175 # Check required arguments.
183176 if [ -z "$Release" ]; then
184177 echo "error: no release number specified"
314307 projsrc=llvm.src/projects/$proj
315308 ;;
316309 test-suite)
317 if [ $do_test_suite = 'yes' ]; then
318 projsrc=llvm.src/projects/$proj
319 else
320 projsrc=$proj.src
321 fi
310 projsrc=$proj.src
322311 ;;
323312 *)
324313 echo "error: unknown project $proj"
416405 deferred_error $Phase $Flavor "check-all failed"
417406 fi
418407
408 if [ $do_test_suite = 'yes' ]; then
409 SandboxDir="$BuildDir/sandbox"
410 Lit=$SandboxDir/bin/lit
411 TestSuiteBuildDir="$BuildDir/test-suite-build"
412 TestSuiteSrcDir="$BuildDir/test-suite.src"
413
414 virtualenv $SandboxDir
415 $SandboxDir/bin/python $BuildDir/llvm.src/utils/lit/setup.py install
416 mkdir -p $TestSuiteBuildDir
417 cd $TestSuiteBuildDir
418 cmake $TestSuiteSrcDir -DTEST_SUITE_LIT=$Lit
419 if ! ( ${MAKE} -j $NumJobs -k check \
420 2>&1 | tee $LogDir/llvm.check-Phase$Phase-$Flavor.log ) ; then
421 deferred_error $Phase $Flavor "test suite failed"
422 fi
423 fi
419424 cd $BuildDir
420425 }
421426