[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite anaylse-results.sh
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash/testsuite anaylse-results.sh |
Date: |
Sun, 15 Oct 2006 02:46:38 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 06/10/15 02:46:38
Modified files:
testsuite : anaylse-results.sh
Log message:
Tweak search pattern to start at the beginning of the line.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/anaylse-results.sh?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: anaylse-results.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/anaylse-results.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- anaylse-results.sh 15 Oct 2006 02:43:18 -0000 1.3
+++ anaylse-results.sh 15 Oct 2006 02:46:38 -0000 1.4
@@ -11,13 +11,15 @@
total_fail=0;
total_pass=0;
total_xfail=0;
+total_xpass=0;
total_unresolved=0;
for dir in `find . -maxdepth 1 -type d | egrep -v ".libs|.deps" | grep "./"`;
do
- nofail=`grep -c " FAILED: " ${dir}/testrun.sum`
- nopass=`grep -c " PASSED: " ${dir}/testrun.sum`
- noxfail=`grep -c " XFAILED: " ${dir}/testrun.sum`
- nounresolved=`grep -c " UNRESOLVED: " ${dir}/testrun.sum`
+ nofail=`grep -c "^FAIL: " ${dir}/testrun.sum`
+ nopass=`grep -c "^PASS: " ${dir}/testrun.sum`
+ noxfail=`grep -c "^XFAIL: " ${dir}/testrun.sum`
+ noxpass=`grep -c "^XPASS: " ${dir}/testrun.sum`
+ nounresolved=`grep -c "^UNRESOLVED: " ${dir}/testrun.sum`
echo -n "Test suite $dir had these results: "
if test $nofail -gt 0; then
echo -n " $nofail real failures"