testing/cmocka: Fix total test count when tests are skipped
When a test is skipped due to matching the skip filter pattern, the total_tests counter was not being incremented. This caused incorrect test statistics reporting where skipped tests were not counted in the total.
Add total_tests++ before continue statement to ensure skipped tests are properly counted in the test summary.
Signed-off-by: huojianchao huojianchao@xiaomi.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
CMOCKA
Mirror of https://gitlab.com/cmocka/cmocka
INSTALLATION
cmocka is a fork for Google’s cmockery unit testing framework to fix bugs and support it in future. See https://code.google.com/p/cmockery/
For information about how to use the cmocka unit testing framework see doc/index.html.
COMPILING
To compile the cmocka library and example applications run, create a build dir, and in the build dir call ‘cmake /path/to/cmocka’ followed by ‘make’. On Windows you can use the cmake gui. More details can be found in the INSTALL file.
LICENSE
Apache