Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
bbc0f64f
Commit
bbc0f64f
authored
Dec 11, 2013
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a Makefile target for test coverage
parent
d47a8129
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Makefile.am
Makefile.am
+8
-1
No files found.
Makefile.am
View file @
bbc0f64f
...
...
@@ -10,5 +10,12 @@ json98_CXXFLAGS = -std=c++98
json98_CPPFLAGS
=
-I
$(top_srcdir)
/src
svn-clean
:
maintainer-clean
rm
-fr
configure INSTALL aclocal.m4 build-aux depcomp install-sh missing test-driver
rm
-fr
configure INSTALL aclocal.m4 build-aux depcomp install-sh missing test-driver
cover_html
*
.gcda
*
.gcno coverage
*
.info
for
DIR
in
$(DIST_SUBDIRS)
.
;
do
rm
-f
$$
DIR/Makefile.in
;
done
cover
:
make clean
make json98 CXXFLAGS+
=
"--coverage -g -fprofile-arcs -ftest-coverage"
CPPFLAGS+
=
"-DNDEBUG"
./json98
lcov
--capture
--directory
.
--output-file
coverage98.info
genhtml coverage
*
.info
--output-directory
cover_html
--show-details
--title
"
$(PACKAGE_STRING)
"
--legend
--demangle-cpp
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