- Timestamp:
-
05/23/18 12:59:54 (6 years ago)
- Author:
-
Vijay Kumar Banerjee
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
9 | 9 | '''Students:''' Vijay Kumar Banerjee |
10 | 10 | |
11 | | '''Progress:''' The previous works on this project has been collected and the parsing of the coverage from the bsp ini file has been done |
| 11 | '''Progress:''' The Coverage Analysis is running and generating coverage reports in html and txt format |
12 | 12 | |
13 | | '''Blockers:''' The current working coverage takes the command line input for build directory in a way different than the current way rtems work. |
| 13 | '''Blockers:''' Generating .gcno notes files by changing gcc flags |
14 | 14 | |
15 | 15 | = Introduction = |
… |
… |
|
25 | 25 | * Reports (HTML and text currently, add XML) |
26 | 26 | |
| 27 | == Running covoar for coverage analysis == |
| 28 | |
| 29 | To run covoar we need to run covoar from the RTEMS-KERNEL BUILD directory. |
| 30 | |
| 31 | [[span(style=color: #FF0000, NOTE : )]] The .cov trace files are needed to get coverage reports |
| 32 | |
| 33 | {{{ |
| 34 | covoar -S /home/lunatic/development/rtems/test/rtems-tools/tester/rtems/testing/coverage/score-symbols.ini \ |
| 35 | -O /home/lunatic/coverage_test/test/score \ |
| 36 | -E/home/lunatic/development/rtems/test/rtems-tools/tester/rtems/testing/coverage/Explanations.txt \ |
| 37 | -p RTEMS-5 -v sparc-rtems5/c/leon3/testsuites/samples/hello/hello.exe |
| 38 | }}} |
| 39 | |
| 40 | === `covoar` usage : === |
| 41 | {{{ |
| 42 | Usage: covoar [-v] -T TARGET -f FORMAT [-E EXPLANATIONS] -e EXE_EXTENSION -c COVERAGEFILE_EXTENSION EXECUTABLE1 ... EXECUTABLE2 |
| 43 | |
| 44 | -v - verbose at initialization |
| 45 | -T TARGET - target name |
| 46 | -f FORMAT - coverage file format (RTEMS, QEMU, TSIM or Skyeye) |
| 47 | -E EXPLANATIONS - name of file with explanations |
| 48 | -s SYMBOL_SET_FILE - path to the INI format symbol sets |
| 49 | -1 EXECUTABLE - name of executable to get symbols from |
| 50 | -e EXE_EXTENSION - extension of the executables to analyze |
| 51 | -c COVERAGEFILE_EXTENSION - extension of the coverage files to analyze |
| 52 | -g GCNOS_LIST - name of file with list of *.gcno files |
| 53 | -p PROJECT_NAME - name of the project |
| 54 | -C ConfigurationFileName - name of configuration file |
| 55 | -O Output_Directory - name of output directory (default=. |
| 56 | -d debug - disable cleaning of tempfile |
| 57 | |
| 58 | }}} |
27 | 59 | == Resources == |
28 | 60 | |
29 | | TBA |
30 | | |
31 | | == Tasks == |
32 | 61 | TBA |
33 | 62 | |