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

#48 CU_run_test seems not to return error code on test fail

open
Anil Kumar
Core Issue (23)
5
2012-10-25
2011-01-06
John Pye
No

My code makes direct use of 'CU_basic_run_test' to run multiple user-selected individual test cases as specified on the command line. However, it is hard to correctly aggregate the results of this, because CU_basic_run_test seems to return 0 even when there have been failed assertions.

FAILED
1. ascend/solver/test/test_ipopt.c:86 - index != -1

Run Summary: Type Total Ran Passed Failed Inactive
suites 28 0 n/a 0 0
tests 69 1 0 1 0
asserts 6 6 5 1 n/a

Elapsed time = 0.010 seconds
Result code: 0
Result: No Error.

Discussion


Anonymous


Cancel   Add attachments