code coverage

Questions about Wine on Linux
Locked
Koalall
Newbie
Newbie
Posts: 1
Joined: Sun Jun 02, 2019 8:13 am

code coverage

Post by Koalall »

I use Ubuntu and wine's version is 4.9 . I want to know which code has been executed so I used gcov and follow the guide here:
https://wiki.winehq.org/Code_Coverage

I ran the test and then generated the gcov file, while it shows as follows:

Code: Select all

$ gcov registry.c 
registry.gcda:cannot open data file, assuming not executed
File 'registry.c'
No executable lines
Removing 'registry.c.gcov'

File '../../include/wine/debug.h'
No executable lines
Removing 'debug.h.gcov'

File '../../include/winbase.h'
No executable lines
Removing 'winbase.h.gcov'

File '../../include/wine/heap.h'
No executable lines
Removing 'heap.h.gcov'

File '/usr/include/i386-linux-gnu/bits/string3.h'
No executable lines
Removing 'string3.h.gcov'

File '../../include/wine/unicode.h'
No executable lines
Removing 'unicode.h.gcov'

File '../../include/winnt.h'
No executable lines
Removing 'winnt.h.gcov'

File '/usr/include/i386-linux-gnu/bits/stdio2.h'
No executable lines
Removing 'stdio2.h.gcov'
Has this problem been encountered?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: code coverage

Post by DarkShadow44 »

Are you sure this is a problem in the first place?
Locked