Skip to content

Commit

Permalink
Incorporating latest feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Giles Cope committed Mar 17, 2020
1 parent b799955 commit 973d727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ you can run `cargo install grcov`.

## Example: How to generate .gcda files for from C/C++

Pass `-ftest-coverage` and `-fprofile-arcs` options to `gcc` (see [gcc docs](https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html)), or pass the `--coverage` option to `clang`
Pass `--coverage` to `clang` or `gcc` (or for older gcc versions pass `-ftest-coverage` and `-fprofile-arcs` options (see [gcc docs](https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html)).

## Example: How to generate .gcda fiels for a Rust project

Expand Down Expand Up @@ -124,7 +124,7 @@ genhtml -o ./target/debug/coverage/ --show-details --highlight --ignore-errors s

### Coveralls/Codecov output

Coverage can also be sent directly from grcov to coveralls:
Coverage can also be generated in coveralls format:

```sh
grcov ./target/debug -t coveralls -s . --token YOUR_COVERALLS_TOKEN > coveralls.json
Expand Down

0 comments on commit 973d727

Please sign in to comment.