libest icon indicating copy to clipboard operation
libest copied to clipboard

Unit test harness does not return non-zero value when test cases fail

Open jfigus opened this issue 11 years ago • 0 comments

test/UT/runtest does not return a non-zero value when one or more unit tests fail. As a result, scripts are not able to determine if unit tests are failing, making it difficult to automate the unit test. For instance, invoking runtest from Jenkins becomes a problem. Since runtest returns a zero all the time, Jenkins thinks the unit tests are passing. Runtest should be updated to return zero only when all the unit tests have passed.

jfigus avatar Jun 05 '15 16:06 jfigus