Attached patch returns the number of failed tests for the program exit code instead of always returning 0.

I have a local automated build system building winmono/eglib and use this to determine if the tests failed or not.

Ok to commit?

Jonathan
Index: eglib/test/driver.c
===================================================================
--- eglib/test/driver.c (revision 121616)
+++ eglib/test/driver.c (working copy)
@@ -238,7 +238,7 @@
                string_array_free(tests_to_run);
        }
 
-       return 0;
+       return global_tests - global_passed;
 }
 
 
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to