summaryrefslogtreecommitdiff
path: root/tests/gtests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gtests')
-rwxr-xr-xtests/gtests/gtests.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/gtests/gtests.sh b/tests/gtests/gtests.sh
index 278537e41..c5b23bb9d 100755
--- a/tests/gtests/gtests.sh
+++ b/tests/gtests/gtests.sh
@@ -49,17 +49,21 @@ gtest_start()
fi
cd "$GTESTDIR"
GTESTREPORT="$GTESTDIR/report.xml"
+ PARSED_REPORT="$GTESTDIR/report.parsed"
+ echo "executing $i"
${BINDIR}/$i -d "$GTESTDIR" --gtest_output=xml:"${GTESTREPORT}"
echo "test output dir: ${GTESTREPORT}"
html_msg $? 0 "$i run successfully"
- sed -f ${COMMON}/parsegtestreport.sed "${GTESTREPORT}" | \
- while read result name; do
+ echo "executing sed to parse the xml report"
+ sed -f ${COMMON}/parsegtestreport.sed "${GTESTREPORT}" > "${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
done