]>
Commit | Line | Data |
---|---|---|
c2b07021 BP |
1 | Building with gcov support |
2 | ========================== | |
3 | ||
4 | The Open vSwitch "configure" script supports the following | |
5 | code-coverage related options: | |
6 | ||
7 | --disable-coverage | |
8 | --enable-coverage=no | |
9 | ||
10 | Do not build with gcov code coverage support. | |
11 | ||
12 | This is the default if no coverage option is passed to | |
13 | "configure". | |
14 | ||
15 | --enable-coverage | |
16 | --enable-coverage=yes | |
17 | ||
7c126fbb | 18 | Build with gcov code coverage support. |
c2b07021 | 19 | |
7c126fbb BP |
20 | If you enable coverage and you have the "lcov" and "genhtml" |
21 | programs in PATH, then you may run "make check-lcov" to produce a | |
22 | directory "tests/coverage.html" in the build directory with an | |
23 | analysis of the test suite's coverage. lcov is available at | |
24 | http://ltp.sourceforge.net/coverage/lcov.php |