12Perform code quality cppchecks for every commit to the ir package.
16from b2test_utils
import check_error_free
18if __name__ ==
"__main__":
20 ignoreme =
'Cppcheck cannot find all the include files'
22 ignoreUnmatchedUnusedFunction =
'Unmatched suppression: unusedFunction'
24 ignoreUnmatchedUseStlAlgorithm =
'Unmatched suppression: useStlAlgorithm'
25 check_error_free(
"b2code-cppcheck",
"cppcheck",
"ir",
27 re.findall(ignoreme, x)
or
28 re.findall(ignoreUnmatchedUnusedFunction, x)
or
29 re.findall(ignoreUnmatchedUseStlAlgorithm, x)
or