gnash-commit
[Top][All Lists]
Advanced

[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:43:18 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    06/10/15 02:43:18

Modified files:
        testsuite      : anaylse-results.sh 

Log message:
        Tweak to handle the newer expected failures.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/anaylse-results.sh?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: anaylse-results.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/anaylse-results.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- anaylse-results.sh  13 Oct 2006 20:20:56 -0000      1.2
+++ anaylse-results.sh  15 Oct 2006 02:43:18 -0000      1.3
@@ -1,19 +1,26 @@
 #!/bin/sh
 
 
+# case "$1" in
+#     totals)
+#      totals ;;
+#     *)
+#      exit ;;
+# esac
+
 total_fail=0;
 total_pass=0;
 total_xfail=0;
 total_unresolved=0;
 
 for dir in `find . -maxdepth 1 -type d | egrep -v ".libs|.deps" | grep "./"`; 
do
-  nofail=`grep -c "FAIL: "   ${dir}/testrun.sum`
-  nopass=`grep -c "PASS: "   ${dir}/testrun.sum`
-  noxfail=`grep -c "XFAIL: " ${dir}/testrun.sum`
-  nounresolved=`grep -c "UNRESOLVED: " ${dir}/testrun.sum`
+    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`
   echo -n "Test suite $dir had these results: "
   if test $nofail -gt 0; then
-    echo -n " $nofail failures"
+       echo -n " $nofail real failures"
     total_fail=`expr $total_fail + $nofail`
   fi
   if test $nopass -gt 0; then
@@ -46,7 +53,7 @@
 echo
 echo "Test Result Totals:"
 if test ${total_fail} -gt 0; then
-  echo "       Total failures: $total_fail"
+    echo "     Total real failures: $total_fail"
 fi
 if test ${total_pass} -gt 0; then
   echo "       Total passes: $total_pass"
@@ -57,3 +64,7 @@
 if test ${total_xfail} -gt 0; then
   echo "       Total expected failures: ${total_xfail}"
 fi
+
+#
+# Look for regressions
+#




reply via email to

[Prev in Thread] Current Thread [Next in Thread]