Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 1 and Version 2 of GSoC/2018/coverage_analysis_toolset


Ignore:
Timestamp:
05/23/18 12:59:54 (6 years ago)
Author:
Vijay Kumar Banerjee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoC/2018/coverage_analysis_toolset

    v1 v2  
    99'''Students:''' Vijay Kumar Banerjee
    1010
    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
    1212
    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
    1414
    1515= Introduction =
     
    2525* Reports (HTML and text currently, add XML)
    2626
     27== Running covoar for coverage analysis ==
     28
     29To 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{{{
     34covoar -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{{{
     42Usage: 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}}}
    2759== Resources ==
    2860
    29 TBA
    30 
    31 == Tasks ==
    3261TBA
    3362