projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bring back the test-suite export in test-release without bringing back the build...
[oota-llvm.git]
/
utils
/
release
/
test-release.sh
diff --git
a/utils/release/test-release.sh
b/utils/release/test-release.sh
index c5fe631da998967c3864e84bf07bd45014fc0fe7..69de8371d63186a92ac6964c614d645fc6fd4bf7 100755
(executable)
--- a/
utils/release/test-release.sh
+++ b/
utils/release/test-release.sh
@@
-155,9
+155,12
@@
while [ $# -gt 0 ]; do
done
if [ "$use_autoconf" = "no" ]; then
done
if [ "$use_autoconf" = "no" ]; then
- # See llvm.org/PR26146.
- echo Skipping test-suite when using CMake.
- do_test_suite="no"
+ if [ "$do_test_suite" = "yes" ]; then
+ # See llvm.org/PR26146.
+ echo Skipping test-suite build when using CMake.
+ echo It will still be exported.
+ do_test_suite="export-only"
+ fi
fi
# Check required arguments.
fi
# Check required arguments.
@@
-202,9
+205,11
@@
if [ $do_libs = "yes" ]; then
projects="$projects libunwind"
fi
fi
projects="$projects libunwind"
fi
fi
-if [ $do_test_suite = "yes" ]; then
- projects="$projects test-suite"
-fi
+case $do_test_suite in
+ yes|export-only)
+ projects="$projects test-suite"
+ ;;
+esac
if [ $do_openmp = "yes" ]; then
projects="$projects openmp"
fi
if [ $do_openmp = "yes" ]; then
projects="$projects openmp"
fi
@@
-277,9
+282,16
@@
function export_sources() {
clang-tools-extra)
projsrc=llvm.src/tools/clang/tools/extra
;;
clang-tools-extra)
projsrc=llvm.src/tools/clang/tools/extra
;;
- compiler-rt|libcxx|libcxxabi|libunwind|openmp
|test-suite
)
+ compiler-rt|libcxx|libcxxabi|libunwind|openmp)
projsrc=llvm.src/projects/$proj
;;
projsrc=llvm.src/projects/$proj
;;
+ test-suite)
+ if [ $do_test_suite = 'yes' ]; then
+ projsrc=llvm.src/projects/$proj
+ else
+ projsrc=$proj.src
+ fi
+ ;;
*)
echo "error: unknown project $proj"
exit 1
*)
echo "error: unknown project $proj"
exit 1