Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
3871832e
Commit
3871832e
authored
Feb 02, 2010
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix valgrind running with debugger.
parent
f0686bf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
tools/ccanlint/tests/run_tests_valgrind.c
tools/ccanlint/tests/run_tests_valgrind.c
+4
-1
No files found.
tools/ccanlint/tests/run_tests_valgrind.c
View file @
3871832e
...
...
@@ -99,12 +99,15 @@ static void run_under_debugger_vg(struct manifest *m, void *check_result)
{
struct
list_head
*
list
=
check_result
;
struct
run_tests_result
*
first
;
char
*
command
;
if
(
!
ask
(
"Should I run the first failing test under the debugger?"
))
return
;
first
=
list_top
(
list
,
struct
run_tests_result
,
list
);
run_command
(
m
,
"valgrind --db-attach=yes %s"
,
first
->
file
->
compiled
);
command
=
talloc_asprintf
(
m
,
"valgrind --db-attach=yes %s"
,
first
->
file
->
compiled
);
system
(
command
);
}
struct
ccanlint
run_tests_vg
=
{
...
...
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