diff options
author | biswatosh.chakraborty%sun.com <devnull@localhost> | 2007-11-30 05:30:43 +0000 |
---|---|---|
committer | biswatosh.chakraborty%sun.com <devnull@localhost> | 2007-11-30 05:30:43 +0000 |
commit | 25afa622e76c3ffd041085b903b9ec5358688eb5 (patch) | |
tree | 1ae1abcc086eb83bf3cc3519ebcb97055deab5c0 | |
parent | 0413b9e220261b8232ef54064d0284aef8aa03fe (diff) | |
download | nss-hg-25afa622e76c3ffd041085b903b9ec5358688eb5.tar.gz |
Bug 332610 - test reports success despite build missing. r = Julien, Nelson
-rwxr-xr-x | security/nss/tests/all.sh | 13 |
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 |