summaryrefslogtreecommitdiff
path: root/README-gcov
blob: 01c49cc713713065a57f5aab356ebc1554794537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Building with gcov support
==========================

The Open vSwitch "configure" script supports the following
code-coverage related options:

  --disable-coverage
  --enable-coverage=no

    Do not build with gcov code coverage support.

    This is the default if no coverage option is passed to
    "configure".

  --enable-coverage
  --enable-coverage=yes

    Build with gcov code coverage support.

    If you enable coverage and you have the "lcov" and "genhtml"
    programs in PATH, then you may run "make check-lcov" to produce a
    directory "tests/coverage.html" in the build directory with an
    analysis of the test suite's coverage.  lcov is available at
    http://ltp.sourceforge.net/coverage/lcov.php