On 30 May 2018 at 22:51, Gedare Bloom <ged...@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 > > >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel