Opened 18 years ago

Last modified 15 years ago

#90 closed defect

geos_unit does not retur number of failed tests — at Version 5

Reported by: mateusz@… Owned by: mateusz@…
Priority: 1 Milestone:
Component: tests Version: main
Severity: Significant Keywords: imported, phpbugtracker
Cc:

Description (last modified by mloskot)

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

Change History (5)

comment:1 by mateusz@…, 18 years ago

Severity: UnassignedSignificant

comment:2 by mateusz@…, 18 years ago

Another suggestion is to return regular Unix code:

if nfailures > 0
EXIT_FAILURE
else
EXIT_SUCCESS

comment:3 by mateusz@…, 18 years ago

Resolution: nonefixed
Fixed.
No, geos_unit returns EXIT_SUCCESS or returns "number of failures" (which is > 0) to indicate that Unit Tests failed.

comment:4 by mateusz@…, 18 years ago

Closed.

comment:5 by mloskot, 17 years ago

Description: modified (diff)
Milestone: imported3.0.0
Resolution: fixed
Status: closedreopened
Version: 3.0.0svn-trunk
Note: See TracTickets for help on using tickets.