gustavonihei commented on pull request #4730:
URL: https://github.com/apache/incubator-nuttx/pull/4730#issuecomment-951884278


   > I tested with `sim:nsh`, but `tools/gcov.sh` failed to find the `.gcno` 
files:
   > 
   > ```
   > $ ./tools/gcov.sh 
   > Capturing coverage data from /home/nihei/Projects/NuttX
   > Found gcov version: 10.3.0
   > Using intermediate gcov format
   > Scanning /home/nihei/Projects/NuttX for .gcda files ...
   > Found 4 data files in /home/nihei/Projects/NuttX
   > Processing tools/mkversion.gcda
   > Processing tools/mkconfig.gcda
   > Processing tools/cfgdefine.gcda
   > Processing tools/mkdeps.gcda
   > Finished .info-file creation
   > Reading data file coverage.info
   > Found 4 entries.
   > ```
   > 
   > I am not used to running `lcov`, but it seems some step might be missing 
for the tool setup.
   
   Well, now I felt a bit stupid. After your latest commit I realized that the 
coverage information is only generated after the execution haha


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to