summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsecurity/nss/tests/all.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/nss/tests/all.sh b/security/nss/tests/all.sh
index 342eaea0c..b9cb48aba 100755
--- a/security/nss/tests/all.sh
+++ b/security/nss/tests/all.sh
@@ -90,6 +90,19 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then
. ./init.sh
fi
+# Since in make at the top level, modutil is the last file
+# created, we check for modutil to know whether the build
+# is complete. If a new file is created after that, the
+# following test for modutil should check for that instead.
+
+if [ ! -f ${DIST}/${OBJDIR}/bin/modutil -a \
+ ! -f ${DIST}/${OBJDIR}/bin/modutil.exe ]; then
+ echo "Build Incomplete. Aborting test." >> ${LOGFILE}
+ html_head "Testing Initialization"
+ Exit "Checking for build"
+fi
+
+
for i in ${TESTS}
do
SCRIPTNAME=${i}.sh