michael@0: #!/bin/bash michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: michael@0: if [ -z "${CLEANUP}" -o "${CLEANUP}" = "${SCRIPTNAME}" ]; then michael@0: echo michael@0: echo "SUMMARY:" michael@0: echo "========" michael@0: echo "NSS variables:" michael@0: echo "--------------" michael@0: echo "HOST=${HOST}" michael@0: echo "DOMSUF=${DOMSUF}" michael@0: echo "BUILD_OPT=${BUILD_OPT}" michael@0: if [ "${OS_ARCH}" = "Linux" ]; then michael@0: echo "USE_X32=${USE_X32}" michael@0: fi michael@0: echo "USE_64=${USE_64}" michael@0: echo "NSS_CYCLES=\"${NSS_CYCLES}\"" michael@0: echo "NSS_TESTS=\"${NSS_TESTS}\"" michael@0: echo "NSS_SSL_TESTS=\"${NSS_SSL_TESTS}\"" michael@0: echo "NSS_SSL_RUN=\"${NSS_SSL_RUN}\"" michael@0: echo "NSS_AIA_PATH=${NSS_AIA_PATH}" michael@0: echo "NSS_AIA_HTTP=${NSS_AIA_HTTP}" michael@0: echo "NSS_AIA_OCSP=${NSS_AIA_OCSP}" michael@0: echo "IOPR_HOSTADDR_LIST=${IOPR_HOSTADDR_LIST}" michael@0: echo "PKITS_DATA=${PKITS_DATA}" michael@0: echo michael@0: echo "Tests summary:" michael@0: echo "--------------" michael@0: LINES_CNT=$(cat ${RESULTS} | grep ">Passed<" | wc -l | sed s/\ *//) michael@0: echo "Passed: ${LINES_CNT}" michael@0: LINES_CNT=$(cat ${RESULTS} | grep ">Failed<" | wc -l | sed s/\ *//) michael@0: echo "Failed: ${LINES_CNT}" michael@0: LINES_CNT=$(cat ${RESULTS} | grep ">Failed Core<" | wc -l | sed s/\ *//) michael@0: echo "Failed with core: ${LINES_CNT}" michael@0: LINES_CNT=$(cat ${RESULTS} | grep ">Unknown<" | wc -l | sed s/\ *//) michael@0: echo "Unknown status: ${LINES_CNT}" michael@0: if [ ${LINES_CNT} -gt 0 ]; then michael@0: echo "TinderboxPrint:Unknown: ${LINES_CNT}" michael@0: fi michael@0: echo michael@0: michael@0: html "END_OF_TEST
" michael@0: html "" michael@0: rm -f ${TEMPFILES} 2>/dev/null michael@0: fi