From c388053e144f6ae00836ccb9d0b6b895ce129072 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Thu, 20 Dec 2012 11:42:22 +0100 Subject: doc: tweak 'lcov' in HACKING * HACKING: In the paragraph about creating coverage statistics, use the correct -b (--base-directory) parameter. --- HACKING | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf