2002-02-18 Radek Doulik <rodo@ximian.com>
authorRadek Doulik <rodo@mono-cvs.ximian.com>
Mon, 18 Feb 2002 20:11:32 +0000 (20:11 -0000)
committerRadek Doulik <rodo@mono-cvs.ximian.com>
Mon, 18 Feb 2002 20:11:32 +0000 (20:11 -0000)
* mono/tests/Makefile.am: display # of passing tests too

svn path=/trunk/mono/; revision=2483

ChangeLog
mono/tests/Makefile.am

index 2cedd4d993fdaad7efd18229d7934661c8fd7576..8c39f9bbe7cfa7958e08b509c2e4d91e9f78daf3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-02-18  Radek Doulik  <rodo@ximian.com>
+
+       * mono/tests/Makefile.am: display # of passing tests too
+
+2002-02-17  Radek Doulik  <rodo@ximian.com>
+
+       * mono/tests/Makefile.am (test): display # of failed tests
+
 2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>
 
        * configure.in: Add checks for SOL_IP, SOL_TCP, and
index 1db56505276c496ba04395cffd40530dcd909fe4..029bb0515897d88c322664835b26d8f27293a214 100644 (file)
@@ -84,13 +84,16 @@ EXTRA_DIST=test-driver $(TESTSRC)
 
 test: $(TEST_PROG) $(TESTSI)
        @failed=0; \
+       passed=0; \
        for i in $(TESTSI); do  \
-               if ./test-driver $(TEST_PROG) $$i; \
+               if ./test-driver $(TEST_PROG) $$i; \
                then \
+                       passed=`expr $${passed} + 1`; \
+               else \
                        failed=`expr $${failed} + 1`; \
                fi \
        done; \
-       echo "$${failed} test(s) failed."
+       echo "$${passed} test(s) passed. $${failed} test(s) failed."
 
 testb: $(TEST_PROG) $(TESTBS)
        for i in $(TESTBS); do  \