]>
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 | ||
18 | Build with gcov code coverage support, but do not assume that any | |
19 | coverage-related tools are installed and do not add special | |
20 | coverage support to the test suite. | |
21 | ||
22 | --enable-coverage=lcov | |
23 | ||
24 | Build with gcov code coverage support, as above, but also add | |
25 | support for coverage analysis to the test suite. Running "make | |
26 | check" will produce a directory "tests/coverage.html" in the build | |
27 | directory with an analysis of the test suite's coverage. | |
28 | ||
29 | This setting requires the lcov suite of utilities to be installed. | |
30 | The "lcov" and "genhtml" programs from lcov must be in PATH. lcov | |
31 | is available at: http://ltp.sourceforge.net/coverage/lcov.php |