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
1bfd1464
Commit
1bfd1464
authored
Mar 27, 2012
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccanlint: tests_compile_coverage needs GCC.
We only support gcc/gcov so far.
parent
f22b5b12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tools/ccanlint/tests/tests_compile_coverage.c
tools/ccanlint/tests/tests_compile_coverage.c
+4
-0
No files found.
tools/ccanlint/tests/tests_compile_coverage.c
View file @
1bfd1464
...
...
@@ -20,12 +20,16 @@
/* Note: we already test safe_mode in run_tests.c */
static
const
char
*
can_run_coverage
(
struct
manifest
*
m
)
{
#ifdef __GNUC__
unsigned
int
timeleft
=
default_timeout_ms
;
char
*
output
;
if
(
!
run_command
(
m
,
&
timeleft
,
&
output
,
"gcov -h"
))
return
talloc_asprintf
(
m
,
"No gcov support: %s"
,
output
);
return
NULL
;
#else
return
"No coverage support for this compiler"
;
#endif
}
static
void
cov_compile
(
const
void
*
ctx
,
...
...
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