Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
4eee7105
Commit
4eee7105
authored
10 years ago
by
Hisham Muhammad
Browse files
Options
Download
Email Patches
Plain Diff
Add coverage testing rules
parent
2939a84e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile.am
+9
-0
Makefile.am
with
9 additions
and
0 deletions
+9
-0
Makefile.am
View file @
4eee7105
...
...
@@ -65,9 +65,18 @@ profile:
debug
:
$(MAKE)
all
CFLAGS
=
""
AM_CPPFLAGS
=
"-ggdb -DDEBUG"
coverage
:
$(MAKE)
all
CFLAGS
=
""
AM_CPPFLAGS
=
"-fprofile-arcs -ftest-coverage -DDEBUG"
AM_LDFLAGS
=
"-lgcov"
.c.h
:
@
srcdir@/scripts/MakeHeader.py
$<
cppcheck
:
cppcheck
-q
-v
.
--enable
=
all
-DHAVE_CGROUP
-DHAVE_OPENVZ
-DHAVE_TASKSTATS
.PHONY
:
lcov
lcov
:
mkdir
-p
lcov
lcov
--capture
--directory
.
--output-file
coverage.info
genhtml coverage.info
--output-directory
lcov
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help