- Timestamp:
-
05/23/18 13:18:21 (6 years ago)
- Author:
-
Vijay Kumar Banerjee
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
13 | 13 | '''Blockers:''' Generating .gcno notes files by changing gcc flags |
14 | 14 | |
| 15 | ''' Development Blog :''' https://thelunatic.github.io/rtems_gsoc18 |
15 | 16 | = Introduction = |
16 | 17 | This project is to improve the tools used to perform the analysis and generate reports. It will convert all the config files to .ini and get the coverage analysis running properly. Then the coverage tools will be integrated with RTEMS Tester . |
… |
… |
|
25 | 26 | * Reports (HTML and text currently, add XML) |
26 | 27 | |
27 | | == Running covoar for coverage analysis == |
| 28 | == Running covoar To generate coverage reports == |
28 | 29 | |
29 | 30 | To run covoar we need to run covoar from the RTEMS-KERNEL BUILD directory. |
… |
… |
|
57 | 58 | |
58 | 59 | }}} |
| 60 | |
| 61 | == Running RTEMS-TESTER for Coverage analysis == |
| 62 | |
| 63 | RTEMS-TESTER when run with `--coverage` option, generates an html coverage analysis report (report.html) |
| 64 | |
| 65 | {{{ |
| 66 | $HOME/development/rtems/test/rtems-tools/tester/rtems-test \ |
| 67 | --rtems-tools=$HOME/development/rtems/5 --log=coverage_analysis.log \ |
| 68 | --rtems-bsp=leon3-qemu-cov --coverage --no-clean \ |
| 69 | /home/lunatic/development/rtems/kernel/leon3/sparc-rtems5/c/leon3/testsuites/samples/hello/hello.exe |
| 70 | }}} |
| 71 | |
| 72 | [[span(style=color: #FF0000, NOTE : )]] The `--no-clean` option tells the script not to delete the .cov trace files generated while running the coverage. |
| 73 | These Trace files can be used for running covoar directly. |
| 74 | |
| 75 | Please visit [https://thelunatic.github.io/rtems_gsoc18/blog/coverage-report/ my development blog] to see examples of coverage report |
| 76 | |
59 | 77 | == Resources == |
60 | 78 | |