Opened 18 years ago

Closed 16 years ago

Last modified 15 years ago

#90 closed defect (fixed)

geos_unit does not retur number of failed tests

Reported by: mloskot Owned by: mloskot
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 (9)

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, 16 years ago

Description: modified (diff)
Milestone: imported3.0.0
Resolution: fixed
Status: closedreopened
Version: 3.0.0svn-trunk

comment:6 by mloskot, 16 years ago

Owner: changed from mateusz@… to mloskot
Status: reopenednew

comment:7 by mloskot, 16 years ago

Resolution: fixed
Status: newclosed

comment:8 by mloskot, 16 years ago

Reporter: changed from mateusz@… to mloskot

comment:9 by (none), 15 years ago

Milestone: 3.0.0

Milestone 3.0.0 deleted

Note: See TracTickets for help on using tickets.