]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3189. [test] Added a summary report after system tests. [RT #25517]
authorEvan Hunt <each@isc.org>
Tue, 1 Nov 2011 18:33:25 +0000 (18:33 +0000)
committerEvan Hunt <each@isc.org>
Tue, 1 Nov 2011 18:33:25 +0000 (18:33 +0000)
CHANGES
bin/tests/system/.cvsignore
bin/tests/system/Makefile.in
bin/tests/system/runall.sh

diff --git a/CHANGES b/CHANGES
index be916f1e5e5311c383896f6ea890aa4efcd5cf1f..79f5d3898f342e360ece0090a097ffd539521905 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+3189.  [test]          Added a summary report after system tests. [RT #25517]
+
 3187.  [port]          win32: support for Visual Studio 2008.  [RT #26356]
 
 3179.  [port]          kfreebsd: build issues. [RT #26273]
index b3271edb5216729fc4cf58bda400c2d036d8bca1..ea15748232b2295b8dea7478f39aa04ce7a3f368 100644 (file)
@@ -1,2 +1,3 @@
 Makefile
 conf.sh
+systests.output
index ef8fc582a4df4a94c8b7a1ae08f0e9cf16c32d6b..db1f53a7c44839285f35849d77e8b671147e4fbb 100644 (file)
@@ -13,7 +13,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: Makefile.in,v 1.31 2008/09/25 04:02:38 tbox Exp $
+# $Id: Makefile.in,v 1.31.48.1 2011/11/01 18:33:25 each Exp $
 
 srcdir =       @srcdir@
 VPATH =                @srcdir@
@@ -36,6 +36,7 @@ test: subdirs
 
 testclean clean distclean::
        if test -f ./cleanall.sh; then sh ./cleanall.sh; fi
+       rm -f systests.output
 
 distclean::
        rm -f conf.sh
index 3f02bb26ceb17880f36f17f65da17911183ebca2..7aa295b304fa697fa83ed7daf56960552e2c94c2 100644 (file)
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: runall.sh,v 1.8.332.2 2010/03/04 23:47:53 tbox Exp $
+# $Id: runall.sh,v 1.8.332.3 2011/11/01 18:33:25 each Exp $
 
 #
 # Run all the system tests.
@@ -26,13 +26,14 @@ SYSTEMTESTTOP=.
 
 status=0
 
-for d in $SUBDIRS
-do
-       sh run.sh $d || status=1
-done
+{
+    for d in $SUBDIRS
+    do
+            sh run.sh $d || status=1
+    done
 
-$PERL testsock.pl || {
-    cat <<EOF >&2
+    $PERL testsock.pl || {
+        cat <<EOF >&2
 I:
 I:NOTE: Many of the tests were skipped because they require that
 I:      the IP addresses 10.53.0.1 through 10.53.0.7 are configured 
@@ -40,7 +41,11 @@ I:   as alias addresses on the loopback interface.  Please run
 I:     "bin/tests/system/ifconfig.sh up" as root to configure them
 I:     and rerun the tests.
 EOF
-    exit 0;
-}
+        exit 0;
+    }
+} | tee "systests.output"
+
+echo "I:System test result summary:"
+grep '^R:' systests.output | sort | uniq -c | sed -e 's/^/I:   /' -e 's/R://'
 
 exit $status