diff options
-rwxr-xr-x | lib/make.sh | 7 |
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 |