summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElio Maldonado <emaldona@redhat.com>2015-12-18 14:24:01 -0800
committerElio Maldonado <emaldona@redhat.com>2015-12-18 14:24:01 -0800
commit79ea0b2cbfafc5d07bc57376b666133f9c6d7675 (patch)
tree301067d59a401373088b823ac5acbc0cebb6a164 /tests
parent69c58ff60c818ff27ca8b9ff518d0af6a13fa624 (diff)
downloadnss-hg-79ea0b2cbfafc5d07bc57376b666133f9c6d7675.tar.gz
Bug 1186917 - Allow package maintainers to optionally build utils without the rest of nss. r=rrelyea
Diffstat (limited to 'tests')
-rwxr-xr-xtests/all.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/all.sh b/tests/all.sh
index d6f25bd8d..671ccd126 100755
--- a/tests/all.sh
+++ b/tests/all.sh
@@ -313,9 +313,16 @@ else
fi
if [ ! -f ${DIST}/${OBJDIR}/bin/${LAST_FILE_BUILT}${PROG_SUFFIX} ]; then
+ if [ "${NSS_BUILD_UTIL_ONLY}" = "1" ]; then
+ # Currently no tests are run or built when building util only.
+ # This may change in the future, atob and bota are
+ # possible candidates.
+ echo "No tests were built"
+ else
echo "Build Incomplete. Aborting test." >> ${LOGFILE}
html_head "Testing Initialization"
Exit "Checking for build"
+ fi
fi
# NOTE: