~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to security/nss/tests/all.sh

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-07-29 21:29:02 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729212902-spm9kpvchp9udwbw
Tags: 1.1.11+nobinonly-0ubuntu1
* New security upstream release: 1.1.11 (LP: #218534)
  Fixes USN-602-1, USN-619-1, USN-623-1 and USN-629-1
* Refresh diverged patch:
  - update debian/patches/80_security_build.patch
* Fix FTBFS with missing -lfontconfig
  - add debian/patches/11_fix_ftbfs_with_fontconfig.patch
  - update debian/patches/series
* Build with default gcc (hardy: 4.2, intrepid: 4.3)
  - update debian/rules
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
#
79
79
########################################################################
80
80
 
81
 
tests="cipher perf cert dbtests tools fips sdr crmf smime ssl"
 
81
tests="cipher perf cert dbtests tools fips sdr crmf smime ssl ocsp"
82
82
TESTS=${TESTS:-$tests}
83
83
SCRIPTNAME=all.sh
84
84
CLEANUP="${SCRIPTNAME}"
90
90
    . ./init.sh
91
91
fi
92
92
 
 
93
# Since in make at the top level, modutil is the last file
 
94
# created, we check for modutil to know whether the build
 
95
# is complete. If a new file is created after that, the 
 
96
# following test for modutil should check for that instead.
 
97
 
 
98
if [ ! -f ${DIST}/${OBJDIR}/bin/modutil -a  \
 
99
     ! -f ${DIST}/${OBJDIR}/bin/modutil.exe ]; then
 
100
        echo "Build Incomplete. Aborting test." >> ${LOGFILE}
 
101
        html_head "Testing Initialization"
 
102
        Exit "Checking for build"
 
103
fi
 
104
 
 
105
 
93
106
for i in ${TESTS}
94
107
do
95
108
    SCRIPTNAME=${i}.sh
97
110
    then
98
111
        echo "Running tests for $i" >> ${LOGFILE}
99
112
        echo "TIMESTAMP $i BEGIN: `date`" >> ${LOGFILE}
100
 
        (cd ${QADIR}/$i ; . ./$SCRIPTNAME all file) >> ${LOGFILE} 2>&1
 
113
        (cd ${QADIR}/$i ; . ./$SCRIPTNAME all file >> ${LOGFILE} 2>&1)
101
114
        echo "TIMESTAMP $i END: `date`" >> ${LOGFILE}
102
115
    else
103
116
        echo "Running tests for $i" | tee -a ${LOGFILE}
104
117
        echo "TIMESTAMP $i BEGIN: `date`" | tee -a ${LOGFILE}
105
 
        (cd ${QADIR}/$i ; . ./$SCRIPTNAME all file) 2>&1 | tee -a ${LOGFILE}
 
118
        (cd ${QADIR}/$i ; . ./$SCRIPTNAME all file 2>&1 | tee -a ${LOGFILE})
106
119
        echo "TIMESTAMP $i END: `date`" | tee -a ${LOGFILE}
107
120
    fi
108
121
done