Skip to content

Commit

Permalink
Merge pull request #23 from Teemperor/gcc_remark_readme
Browse files Browse the repository at this point in the history
Added a remark to the readme that coverage is GCC only for now
  • Loading branch information
nlohmann committed Jan 11, 2015
2 parents 0cd2ecf + 85888e8 commit cc7e942
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,15 @@ $ make
$ ctest
```

If you want to generate a coverage report with lcov, execute this instead:
If you want to generate a coverage report with the lcov/genhtml tools, execute this instead:

```sh
$ cmake .
$ make coverage
```

**Note: You need to use GCC for now as otherwise the target coverage doesn't exist!**

The report is now in the subfolder coverage/index.html

## Execute unit tests with automake
Expand Down

0 comments on commit cc7e942

Please sign in to comment.