llvm.org GIT mirror llvm / 5089570
Bring back the test-suite export in test-release without bringing back the build failures. Summary: r257791 disabled the test-suite export since the addition of CMakeLists.txt was causing build failures. This patch exports the test-suite again but does so outside the source tree so that it isn't included in the Phase[123] builds. Reviewers: hans Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16679 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259094 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 4 years ago
1 changed file(s) with 19 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
155155 done
156156
157157 if [ "$use_autoconf" = "no" ]; then
158 # See llvm.org/PR26146.
159 echo Skipping test-suite when using CMake.
160 do_test_suite="no"
158 if [ "$do_test_suite" = "yes" ]; then
159 # See llvm.org/PR26146.
160 echo Skipping test-suite build when using CMake.
161 echo It will still be exported.
162 do_test_suite="export-only"
163 fi
161164 fi
162165
163166 # Check required arguments.
202205 projects="$projects libunwind"
203206 fi
204207 fi
205 if [ $do_test_suite = "yes" ]; then
206 projects="$projects test-suite"
207 fi
208 case $do_test_suite in
209 yes|export-only)
210 projects="$projects test-suite"
211 ;;
212 esac
208213 if [ $do_openmp = "yes" ]; then
209214 projects="$projects openmp"
210215 fi
277282 clang-tools-extra)
278283 projsrc=llvm.src/tools/clang/tools/extra
279284 ;;
280 compiler-rt|libcxx|libcxxabi|libunwind|openmp|test-suite)
285 compiler-rt|libcxx|libcxxabi|libunwind|openmp)
281286 projsrc=llvm.src/projects/$proj
287 ;;
288 test-suite)
289 if [ $do_test_suite = 'yes' ]; then
290 projsrc=llvm.src/projects/$proj
291 else
292 projsrc=$proj.src
293 fi
282294 ;;
283295 *)
284296 echo "error: unknown project $proj"