Belle II Software
release-06-02-00
ecl_cppcheck.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
"""
13
Perform code quality cppchecks for every commit to the ecl package.
14
"""
15
16
import
re
17
from
b2test_utils
import
check_error_free
18
from
b2test_utils
import
skip_test
19
20
skip_test(
"New cppcheck version in latest externals."
)
21
22
if
__name__ ==
"__main__"
:
23
# Ignore the nofile .. [missingInclude] that is always at the end of cppcheck
24
ignoreme =
'Cppcheck cannot find all the include files'
25
check_error_free(
"b2code-cppcheck"
,
"cppcheck"
,
"ecl"
,
26
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
ecl
tests
ecl_cppcheck.py
Generated on Thu Dec 28 2023 02:24:20 for Belle II Software by
1.9.1