Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#41 TestRun.c::run_single_test does not report errors

open
Anil Kumar
Core Issue (23)
5
2012-10-25
2009-12-01
mcaramel
No

When called, TestRun.c::run_single_test correctly executes the requested test/suite and records the failures at the assertion, test & suite level.

Nonetheless, run_single_test returns CU_get_error() which does not hold test errors but only frameworks errors.

As a consequence, callers of run_single_test will never record an error and won't abort/fail even if instructed to do so (where applicable, as specified with CU_set_error_action method).

Discussion


Anonymous


Cancel   Add attachments