aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2016-05-03 12:14:52 +0000
committerYvan Roux <yvan.roux@linaro.org>2016-05-03 12:14:52 +0000
commitd9b296a539976d14dd01e0f429d7439bbd86baec (patch)
treed31bc483a848e0d8e22239ae6d3d049ae06f4985
parent7c5ae613db3279719dc21a4e6caa6869d7c21776 (diff)
Revert "Run make check even when building binary tarballs and improve comment."bkk16
This reverts commit 7c5ae613db3279719dc21a4e6caa6869d7c21776. Change-Id: I4ae6e69f22fbb7ab68e92233d9b1048600605cff
-rwxr-xr-xlib/make.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/make.sh b/lib/make.sh
index 7289400f..923fe5c0 100755
--- a/lib/make.sh
+++ b/lib/make.sh
@@ -170,8 +170,11 @@ build_all()
# If we're building a full toolchain the binutils tests need to be built
# with the stage 2 compiler, and therefore we shouldn't run unit-test
# until the full toolchain is built. Therefore we test all toolchain
- # packages after the full toolchain is built.
- if test x"${runtests}" != x; then
+ # packages after the full toolchain is built. If ${runtests} is empty
+ # the user has requested that no tests run. Binary tarballs have
+ # testing executed on the installed libraries and executables, not on
+ # the source tree.
+ if test x"${runtests}" != x -a x"${tarbin}" != x"yes"; then
notice "Testing components ${runtests}..."
buildingall=no
local check_ret=0