doc: tweak 'lcov' in HACKING
authorAssaf Gordon <assafgordon@gmail.com>
Thu, 20 Dec 2012 10:42:22 +0000 (11:42 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 20 Dec 2012 10:42:27 +0000 (11:42 +0100)
* HACKING: In the paragraph about creating coverage statistics,
use the correct -b (--base-directory) parameter.

HACKING

diff --git a/HACKING b/HACKING
index adc305f..71c1240 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -610,8 +610,8 @@ to generate HTML coverage reports.  Follow these steps:
   # run whatever tests you want, i.e.:
   make check
   # run lcov
-  lcov -t coreutils -q -d lib -b lib -o lib.lcov -c
-  lcov -t coreutils -q -d src -b src -o src.lcov -c
+  lcov -t coreutils -q -d lib -b `pwd` -o lib.lcov -c
+  lcov -t coreutils -q -d src -b `pwd` -o src.lcov -c
   # generate HTML from the output
   genhtml -p `pwd` -t coreutils -q --output-directory lcov-html *.lcov