[Wp-unit-tests] [WordPress Unit Tests] #37: wp-test.php does not exit with proper error code when tests fail

WordPress Unit Tests noreply at wordpress.org
Tue Apr 17 15:19:28 UTC 2012


#37: wp-test.php does not exit with proper error code when tests fail
-----------------------------+------------------------------------
  Reporter:  benbalter       |      Owner:
      Type:  defect          |     Status:  new
  Priority:  minor           |  Milestone:  Improve Test Framework
 Component:  Test Framework  |    Version:
Resolution:                  |   Keywords:  has-patch
-----------------------------+------------------------------------

Comment (by benbalter):

 Per nacin, updated ticket with 2nd patch attachment:37-1.diff that only
 exits with the proper error code when a -x flag is passed.

 Error code now returns the combined number of errors/warnings each time (0
 = success, >0 = failure).

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/37#comment:1>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list