Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
medal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
42
Issues
42
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bwinf
medal
Commits
5e902c3b
Commit
5e902c3b
authored
Jul 30, 2020
by
Robert Czechowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add target for code coverage measurement in Makefile
parent
1802a2b6
Pipeline
#743
passed with stages
in 23 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Makefile
Makefile
+4
-0
No files found.
Makefile
View file @
5e902c3b
...
@@ -28,3 +28,7 @@ src/db_conn_postgres.rs: src/db_conn_warning_header.txt src/db_conn_sqlite_new.h
...
@@ -28,3 +28,7 @@ src/db_conn_postgres.rs: src/db_conn_warning_header.txt src/db_conn_sqlite_new.h
doc
:
src/db_conn_postgres.rs
doc
:
src/db_conn_postgres.rs
cargo doc
--no-deps
cargo doc
--no-deps
echo
'<meta http-equiv="refresh" content="0; url=medal">'
>
target/doc/index.html
echo
'<meta http-equiv="refresh" content="0; url=medal">'
>
target/doc/index.html
grcov
:
src/db_conn_postgres.rs
CARGO_INCREMENTAL
=
0
RUSTFLAGS
=
"-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
RUSTDOCFLAGS
=
"-Cpanic=abort"
cargo +nightly
test
grcov ./target/debug/
-s
.
-t
html
--llvm
--branch
--ignore-not-existing
-o
./target/debug/coverage/
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