[PATCH] Generate coverage analysis Report

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Wed May 30 18:27:27 UTC 2018


On 30 May 2018 at 22:51, Gedare Bloom <gedare at rtems.org> wrote:

> > +def coverage_run(opts, coverage, executables):
> > +    coverage.executables = executables
> > +    coverage.run()
> > +
> >  def run(command_path = None):
> >      import sys
> >      tests = []
> > @@ -221,15 +228,16 @@ def run(command_path = None):
> >      opts = None
> >      default_exefilter = '*.exe'
> >      try:
> > -        optargs = { '--rtems-tools': 'The path to the RTEMS tools',
> > -                    '--rtems-bsp':   'The RTEMS BSP to run the test on',
> > -                    '--user-config': 'Path to your local user
> configuration INI file',
> > -                    '--report-mode': 'Reporting modes, failures
> (default),all,none',
> > -                    '--list-bsps':   'List the supported BSPs',
> > -                    '--debug-trace': 'Debug trace based on specific
> flags',
> > -                    '--filter':      'Glob that executables must match
> to run (default: ' +
> > +        optargs = { '--rtems-tools':    'The path to the RTEMS tools',
> > +                    '--rtems-bsp':      'The RTEMS BSP to run the test
> on',
> > +                    '--user-config':    'Path to your local user
> configuration INI file',
> > +                    '--report-mode':    'Reporting modes, failures
> (default),all,none',
> > +                    '--list-bsps':      'List the supported BSPs',
> > +                    '--debug-trace':    'Debug trace based on specific
> flags',
> > +                    '--filter':         'Glob that executables must
> match to run (default: ' +
> >                                default_exefilter + ')',
> > -                    '--stacktrace':  'Dump a stack trace on a user
> termination (^C)' }
> > +                    '--stacktrace':     'Dump a stack trace on a user
> termination (^C)',
> > +                    '--coverage':       'Perform coverage analysis of
> test exectuables.'}
> Why are there changes outside of the last two lines (stacktrace and
> coverage)? Only those two need to be modified to add the new option.
>
> Spaces were added to properly format the code.

> Typo: s/exectuables/executables
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180530/4722acd1/attachment-0002.html>


More information about the devel mailing list