make coverage-html failed with no rule found

2022-05-18 Thread Jiatong Shen
Hello community, I am trying to get qemu uniting test coverage report. I find this https://www.qemu.org/docs/master/devel/testing.html#gcc-gcov-support link might be relevant. but when I execute make coverage-html. it complains make: *** No rule to make target 'coverage-html'. Stop What am

Re: make coverage-html failed with no rule found

2022-05-18 Thread Peter Maydell
On Wed, 18 May 2022 at 10:14, Jiatong Shen wrote: > > Hello community, > > I am trying to get qemu uniting test coverage report. I find this > https://www.qemu.org/docs/master/devel/testing.html#gcc-gcov-support link > might be relevant. but when I execute make coverage-html. > > it complai

Re: make coverage-html failed with no rule found

2022-05-18 Thread Jiatong Shen
thank you very much for reply. I am using master branch. I think I have to configure with --enable-gcov enabled. and then make and make coverage-html works. Thank you for the help. Best, Norman On Wed, May 18, 2022 at 6:27 PM Peter Maydell wrote: > On Wed, 18 May 2022 at 10:14, Jiatong Shen

Re: make coverage-html failed with no rule found

2022-05-19 Thread Alex Bennée
Jiatong Shen writes: > thank you very much for reply. I am using master branch. I think I have to > configure with --enable-gcov enabled. > and then make and make coverage-html works. Hmm ok - I'll see if I can make that a bit cleaner... > > Thank you for the help. > > Best, > Norman > > O

Re: make coverage-html failed with no rule found

2022-05-19 Thread Jiatong Shen
Thank you.. btw the result shows many of lines of codes does not get covered. Am I doing something wrong? Best, Norman On Fri, May 20, 2022 at 5:00 AM Alex Bennée wrote: > > Jiatong Shen writes: > > > thank you very much for reply. I am using master branch. I think I have > to configure with

Re: make coverage-html failed with no rule found

2022-05-20 Thread Alex Bennée
Depends on what tests and architectures you have built. But there are areas that aren't well tested by the automatic tests including those that requires hardware support (acceleration) and weird hardware emulation not exercised by our avocado tests. Also you won't exercise tcg backend code for non