diff options
author | Kai Engert <kaie@kuix.de> | 2016-08-04 23:29:32 +0200 |
---|---|---|
committer | Kai Engert <kaie@kuix.de> | 2016-08-04 23:29:32 +0200 |
commit | 2dc36a73822a2ec670883dcdb82f6d967522f4a5 (patch) | |
tree | 6389d0ad01f6301ba49b749f2bc87c58d9ccbf16 /tests/ssl_gtests | |
parent | d75065475859aa2770276319aae64a45de304bd3 (diff) | |
download | nss-hg-2dc36a73822a2ec670883dcdb82f6d967522f4a5.tar.gz |
Bug 1291888, avoid searching core files for individual gtests, avoid nested process pipe, more output to help track down the stuck tests on windows, r=ekr
Diffstat (limited to 'tests/ssl_gtests')
-rwxr-xr-x | tests/ssl_gtests/ssl_gtests.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/ssl_gtests/ssl_gtests.sh b/tests/ssl_gtests/ssl_gtests.sh index 66de84db6..ea224da60 100755 --- a/tests/ssl_gtests/ssl_gtests.sh +++ b/tests/ssl_gtests/ssl_gtests.sh @@ -112,16 +112,20 @@ ssl_gtest_start() fi SSLGTESTREPORT="${SSLGTESTDIR}/report.xml" + PARSED_REPORT="${SSLGTESTDIR}/report.parsed" + echo "executing ssl_gtest" ${BINDIR}/ssl_gtest -d "${SSLGTESTDIR}" --gtest_output=xml:"${SSLGTESTREPORT}" html_msg $? 0 "ssl_gtest run successfully" - sed -f ${COMMON}/parsegtestreport.sed "${SSLGTESTREPORT}" | \ - while read result name; do + echo "executing sed to parse the xml report" + sed -f ${COMMON}/parsegtestreport.sed "${SSLGTESTREPORT}" > "${PARSED_REPORT}" + echo "processing the parsed report" + cat "${PARSED_REPORT}" | while read result name; do if [ "$result" = "notrun" ]; then echo "$name" SKIPPED elif [ "$result" = "run" ]; then - html_passed "$name" > /dev/null + html_passed_ignore_core "$name" else - html_failed "$name" + html_failed_ignore_core "$name" fi done } |