[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/anaylse-results.sh
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/anaylse-results.sh |
Date: |
Fri, 07 Sep 2007 12:37:16 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/09/07 12:37:16
Modified files:
. : ChangeLog
testsuite : anaylse-results.sh
Log message:
* testsuite/anaylse-results.sh: add detailed report
of unexpected successes and failures.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4248&r2=1.4249
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/anaylse-results.sh?cvsroot=gnash&r1=1.13&r2=1.14
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4248
retrieving revision 1.4249
diff -u -b -r1.4248 -r1.4249
--- ChangeLog 7 Sep 2007 12:25:39 -0000 1.4248
+++ ChangeLog 7 Sep 2007 12:37:16 -0000 1.4249
@@ -1,5 +1,10 @@
2007-09-07 Sandro Santilli <address@hidden>
+ * testsuite/anaylse-results.sh: add detailed report
+ of unexpected successes and failures.
+
+2007-09-07 Sandro Santilli <address@hidden>
+
* testsuite/actionscript.all/Makefile.am,
testsuite/misc-ming.all/Makefile.am,
testsuite/misc-mtasc.all/Makefile.am,
Index: testsuite/anaylse-results.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/anaylse-results.sh,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/anaylse-results.sh 7 Sep 2007 12:07:54 -0000 1.13
+++ testsuite/anaylse-results.sh 7 Sep 2007 12:37:16 -0000 1.14
@@ -23,6 +23,8 @@
# TODO2: increment -maxdepth in case we add subdirs to our testsuites ?
#for dir in `find . -maxdepth 1 -type d | egrep -v ".libs|.deps" | grep "./" |
sort`; do
+suitefail=
+suitexpass=
for dir in `find . -type d | egrep -v ".libs|.deps" | grep "./" | sort`; do
if test ! -f "${dir}/testrun.sum" ; then
continue
@@ -36,11 +38,13 @@
echo -n "Test suite $dir: "
someprint=0
if test $nofail -gt 0; then
+ suitefail="${suitefail} ${dir}"
echo -n "$nofail real failures"
total_fail=`expr $total_fail + $nofail`
someprint=1
fi
if test $noxpass -gt 0; then
+ suitexpass="${suitexpass} ${dir}"
if test $someprint -gt 0; then echo -n ", "; fi
echo -n "$noxpass unexpected successes"
total_xpass=`expr $total_xpass + $noxpass`
@@ -99,6 +103,24 @@
# For now, return a failure if any XPASS or FAIL occurred
if test ${total_fail} -gt 0 || test ${total_xpass} -gt 0; then
+
+ if test ${total_fail} -gt 0; then
+ echo "Unexpected failures follow:"
+ for s in ${suitefail}; do
+ echo -n " ${s}: "
+ grep -w FAIL ${s}/testrun.sum;
+ done
+ echo
+ fi
+
+ if test ${total_xpass} -gt 0; then
+ echo "Unexpected successes follow:"
+ for s in ${suitexpass}; do
+ echo -n " ${s}: "
+ grep -w FAIL ${s}/testrun.sum; done
+ echo
+ fi
+
exit 1
else
exit 0