| From: | David Steele <david(at)pgmasters(dot)net> | 
|---|---|
| To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org | 
| Subject: | Re: Error generating coverage report | 
| Date: | 2017-12-12 20:39:53 | 
| Message-ID: | 4b2dcf84-7acd-4c5e-296f-a8b4dca9cf2d@pgmasters.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Hi Peter,
On 12/12/17 3:20 PM, Peter Eisentraut wrote:
>>
>> make: Entering directory `/home/vagrant/test/build/src/bin/pg_basebackup'
>> /usr/bin/lcov --gcov-tool /usr/bin/gcov -q --no-external -c -i -d . -d
>> /postgres/src/bin/pg_basebackup -o lcov_base.info
>> geninfo: ERROR: no .gcno files found in /postgres/src/bin/pg_basebackup!
>> make: *** [lcov_base.info] Error 255
>> make: *** Deleting file `lcov_base.info'
>> make: Leaving directory `/home/vagrant/test/build/src/bin/pg_basebackup'
> 
> The -d options should accumulate, so that it should look in both places.
> 
> Wild guess: If the /postgres directory is some kind of vboxsf mount,
> there might be problems if symlinks are involved.
/postgres is a vboxsf mount.  However, I copied /postgres to 
/home/vagrant/src and still see the same error:
$ make -C test/build/src/bin/pg_basebackup coverage-html
make: Entering directory `/home/vagrant/test/build/src/bin/pg_basebackup'
/usr/bin/lcov --gcov-tool /usr/bin/gcov -q --no-external -c -i -d . -d 
/home/vagrant/src/src/bin/pg_basebackup -o lcov_base.info
geninfo: ERROR: no .gcno files found in 
/home/vagrant/src/src/bin/pg_basebackup!
make: *** [lcov_base.info] Error 255
make: *** Deleting file `lcov_base.info'
make: Leaving directory `/home/vagrant/test/build/src/bin/pg_basebackup'
Thoughts?
-- 
-David
david(at)pgmasters(dot)net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2017-12-12 20:42:08 | Re: proposal: alternative psql commands quit and exit | 
| Previous Message | Robert Haas | 2017-12-12 20:39:22 | Re: proposal: alternative psql commands quit and exit |