]> git.proxmox.com Git - mirror_ovs.git/blob - README-gcov
ovsdb: Truncate bad transactions from database log.
[mirror_ovs.git] / README-gcov
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.
19
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