libest
libest copied to clipboard
Unit test harness does not return non-zero value when test cases fail
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.