Ticket #90 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

geos_unit does not retur number of failed tests

Reported by: mloskot Owned by: mloskot
Priority: 1 Milestone:
Component: tests Version: svn-trunk
Severity: Significant Keywords: imported,phpbugtracker
Cc:

Description (last modified by mloskot) (diff)

Unit Tests runner - geos_unit - should return number of failed tests as a return code. Return code 0 means no test failed.

Change History

Changed 7 years ago by mateusz@…

  • severity changed from Unassigned to Significant

Changed 7 years ago by mateusz@…

Another suggestion is to return regular Unix code:

if nfailures > 0
EXIT_FAILURE
else
EXIT_SUCCESS

Changed 7 years ago by mateusz@…

  • resolution changed from none to fixed
Fixed.
No, geos_unit returns EXIT_SUCCESS or returns "number of failures" (which is > 0) to indicate that Unit Tests failed.

Changed 7 years ago by mateusz@…

Closed.

Changed 6 years ago by mloskot

  • status changed from closed to reopened
  • version changed from 3.0.0 to svn-trunk
  • resolution fixed deleted
  • description modified (diff)
  • milestone changed from imported to 3.0.0

Changed 6 years ago by mloskot

  • owner changed from mateusz@… to mloskot
  • status changed from reopened to new

Changed 6 years ago by mloskot

  • status changed from new to closed
  • resolution set to fixed

Changed 6 years ago by mloskot

  • reporter changed from mateusz@… to mloskot

Changed 4 years ago by anonymous

  • milestone 3.0.0 deleted

Milestone 3.0.0 deleted

Note: See TracTickets for help on using tickets.