Closed sorced-jim closed 12 years ago
spdylay/tests$ ./failmalloc
CUnit - A unit testing framework for C - Version 2.1-2 http://cunit.sourceforge.net/
Suite: libspdylay_TestSuite Test: failmalloc_session_send ...passed Test: failmalloc_session_recv ...passed Test: failmalloc_frame ...FAILED
Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a 0 0 tests 3 3 2 1 0 asserts 4 4 2 2 n/a
Elapsed time = 0.003 seconds jim@Jims-MacBook-Air:~/git/t0/spdylay/tests$ echo $? 0
This means that make check succeeds even though the test fails.
Fixed
spdylay/tests$ ./failmalloc
Suite: libspdylay_TestSuite Test: failmalloc_session_send ...passed Test: failmalloc_session_recv ...passed Test: failmalloc_frame ...FAILED
Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a 0 0 tests 3 3 2 1 0 asserts 4 4 2 2 n/a
Elapsed time = 0.003 seconds jim@Jims-MacBook-Air:~/git/t0/spdylay/tests$ echo $? 0
This means that make check succeeds even though the test fails.