Update documentation to detail the gcov process (as enabled by my previous patch).
Peter Davies
ultratwo at gmail.com
Mon Jun 14 11:43:48 CDT 2010
---
en/winedev-otherdebug.sgml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/en/winedev-otherdebug.sgml b/en/winedev-otherdebug.sgml
index e484cc9..a3e0af9 100644
--- a/en/winedev-otherdebug.sgml
+++ b/en/winedev-otherdebug.sgml
@@ -226,8 +226,8 @@ git bisect reset
<para>
In order to activate code coverage in the wine source code,
when running <command>make</command> set
- <literal>CFLAGS</literal> like so <command>make
- CFLAGS="-fprofile-arcs -ftest-coverage"</command>. Note that
+ <literal>CFLAGS</literal> and <literal>LDFLAGS</literal>
like so <command>make
+ CFLAGS=--coverage LDFLAGS=--coverage</command>. Note that
this can be done at any directory level. Since compile
and run time are significantly increased by these flags, you
may want to only use these flags inside a given dll directory.
@@ -241,7 +241,8 @@ git bisect reset
<listitem>
<para>
Run gcov on the file which you would like to know more
- about code coverage.
+ about code coverage (don't run on multiple files like
+ <command>gcov *.c</command>).
</para>
</listitem>
</orderedlist>
@@ -274,7 +275,7 @@ git clone git://source.winehq.org/git/wine.git wine
mkdir build
cd build
../wine/configure
-make depend && make CFLAGS="-fprofile-arcs -ftest-coverage"
+make depend && make CFLAGS=--coverage LDFLAGS=--coverage
cd dlls/lxexpand/tests
make test
cd ..
--
1.7.1
More information about the wine-patches
mailing list