Belle II Software
development
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
svd_cppcheck.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Perform code quality cppchecks for every commit to the svd package.
13
"""
14
15
import
re
16
from
b2test_utils
import
check_error_free
17
18
if
__name__ ==
"__main__"
:
19
# Comment: this is a temporary workaround, since this package is affected by cppcheck warnings
20
# from other packages. check_error_free skips all the lines identified by findall, so here we skip all the lines
21
# that do no not contain the name of the tested package. The output will be incomplete and a bit obscure,
22
# but at least the test will correctly check if there are cppcheck warnings affecting this package.
23
ignoreme =
r"^((?!svd\/).)*$"
24
check_error_free(
"b2code-cppcheck"
,
"cppcheck"
,
"svd"
,
25
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
svd
tests
svd_cppcheck.py
Generated on Wed Apr 9 2025 02:45:43 for Belle II Software by
1.9.6