summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2012-12-20 11:42:22 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2012-12-20 11:42:27 +0100
commitc388053e144f6ae00836ccb9d0b6b895ce129072 (patch)
tree10b9b60a98daff4d57d041f1cf4e75c272e15ded
parente5345f19158ec1153c320b24ebcaf805db2a7bea (diff)
downloadcoreutils-c388053e144f6ae00836ccb9d0b6b895ce129072.tar.xz
doc: tweak 'lcov' in HACKING
* HACKING: In the paragraph about creating coverage statistics, use the correct -b (--base-directory) parameter.
-rw-r--r--HACKING4
1 files changed, 2 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index adc305ff2..71c12403d 100644
--- 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