mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-27 03:18:59 +02:00
Add support for coverage reports with lcov
Patch by Patrick Hulin, bug #501057.
This commit is contained in:
@@ -255,10 +255,14 @@ How to compile GLib itself
|
||||
<arg>--disable-dtrace</arg>
|
||||
<arg>--enable-dtrace</arg>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<arg>--disable-systemtap</arg>
|
||||
<arg>--enable-systemtap</arg>
|
||||
</group>
|
||||
<group>
|
||||
<arg>--enable-gcov</arg>
|
||||
<arg>--disable-gcov</arg>
|
||||
</group>
|
||||
<group>
|
||||
<arg>--with-runtime-libdir=RELPATH</arg>
|
||||
</group>
|
||||
@@ -605,6 +609,19 @@ How to compile GLib itself
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--enable-gcov</systemitem> and
|
||||
<systemitem>--disable-gcov</systemitem></title>
|
||||
|
||||
<para>
|
||||
Enable the generation of coverage reports for the GLib tests.
|
||||
This requires the lcov frontend to gcov from the
|
||||
<ulink url="http://ltp.sourcforge.net">Linux Test Project</ulink>.
|
||||
To generate a coverage report, use the lcov make target. The
|
||||
report is placed in the <filename>glib-lcov</filename> directory.
|
||||
</para>
|
||||
</formalpara>
|
||||
|
||||
<formalpara>
|
||||
<title><systemitem>--with-runtime-libdir=RELPATH</systemitem></title>
|
||||
|
||||
|
Reference in New Issue
Block a user