13 Perform code quality cppchecks for every commit to the ir package.
17 from b2test_utils
import check_error_free
19 if __name__ ==
"__main__":
21 ignoreme =
'Cppcheck cannot find all the include files'
23 ignoreUnmatchedUnusedFunction =
'Unmatched suppression: unusedFunction'
25 ignoreUnmatchedUseStlAlgorithm =
'Unmatched suppression: useStlAlgorithm'
26 check_error_free(
"b2code-cppcheck",
"cppcheck",
"ir",
28 re.findall(ignoreme, x)
or
29 re.findall(ignoreUnmatchedUnusedFunction, x)
or
30 re.findall(ignoreUnmatchedUseStlAlgorithm, x)
or