Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
88
Issues
88
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
8cef7303
Commit
8cef7303
authored
Jul 02, 2016
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a valgrind suppression file
parent
79002aa5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
CMakeLists.txt
CMakeLists.txt
+2
-2
tests/end_to_end/__main__.py
tests/end_to_end/__main__.py
+1
-1
tests/end_to_end/biboumi.supp
tests/end_to_end/biboumi.supp
+10
-0
No files found.
CMakeLists.txt
View file @
8cef7303
...
...
@@ -205,8 +205,8 @@ add_custom_target(check COMMAND "test_suite"
DEPENDS test_suite biboumi
)
add_custom_target
(
e2e COMMAND
"python3"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/end_to_end/"
DEPENDS biboumi
)
add_custom_target
(
e2e_valgrind COMMAND
"E2E_BIBOUMI_VALGRIND=1"
"python3"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/end_to_end/"
DEPENDS biboumi
)
add_custom_target
(
e2e_valgrind COMMAND
"E2E_BIBOUMI_
SUPP_DIR=
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/end_to_end/"
"E2E_BIBOUMI_
VALGRIND=1"
"python3"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/end_to_end/"
DEPENDS biboumi
)
#
...
...
tests/end_to_end/__main__.py
View file @
8cef7303
...
...
@@ -187,7 +187,7 @@ class BiboumiRunner(ProcessRunner):
self
.
name
=
name
self
.
fd
=
open
(
"biboumi_%s_output.txt"
%
(
name
,),
"w"
)
if
with_valgrind
:
self
.
create
=
asyncio
.
create_subprocess_exec
(
"valgrind"
,
"--leak-check=full"
,
"--show-leak-kinds=all"
,
self
.
create
=
asyncio
.
create_subprocess_exec
(
"valgrind"
,
"--
suppressions="
+
(
os
.
environ
.
get
(
"E2E_BIBOUMI_SUPP_DIR"
)
or
""
)
+
"biboumi.supp"
,
"--
leak-check=full"
,
"--show-leak-kinds=all"
,
"--errors-for-leak-kinds=all"
,
"--error-exitcode=16"
,
"./biboumi"
,
"test.conf"
,
stdin
=
None
,
stdout
=
self
.
fd
,
stderr
=
self
.
fd
,
loop
=
None
,
limit
=
None
)
...
...
tests/end_to_end/biboumi.supp
0 → 100644
View file @
8cef7303
{
stdlibc++ thingy
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
...
fun:call_init.part.0
fun:_dl_init
...
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment