On 7/2/19 7:17 pm, Vijay Kumar Banerjee wrote: > I'm trying to do this ... > > =========== > diff --git a/tester/rtems/testing/bsps/leon3-sis-cov.ini > b/tester/rtems/testing/bsps/leon3-sis-cov.ini > index d60257c..e450b60 100644 > --- a/tester/rtems/testing/bsps/leon3-sis-cov.ini > +++ b/tester/rtems/testing/bsps/leon3-sis-cov.ini > @@ -38,4 +38,4 @@ tester = %{_rtscripts}/run.cfg > target = sparc-rtems5 > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis > bsp_run_opts = -leon3 -nouartrx -r -tlim 200 s -cov > -bsp_covoar_cmd = -E %{cov_explanations} -f TSIM > +bsp_covoar_cmd = -S %{bsp_symbol_path} -p %{project_name} -E > %{cov_explanations} -f TSIM
Can the common options be moved to coverage part of qemu.cfg? > diff --git a/tester/rtems/testing/defaults.mc <http://defaults.mc> > b/tester/rtems/testing/defaults.mc <http://defaults.mc> > index 54212e0..d3e16a9 100644 > --- a/tester/rtems/testing/defaults.mc <http://defaults.mc> > +++ b/tester/rtems/testing/defaults.mc <http://defaults.mc> > @@ -122,5 +122,9 @@ _rtbase: none, none, '%{_rtdir}' > _rttesting: none, none, '%{_rtbase}/rtems/testing' > _configdir: none, none, '%{_rtbase}/config:%{_rttesting}' > > +#Coverage macros > +bsp_symbol_path: none, none, > '%{_rtscripts}/coverage/%{bsp}-symbols.ini' > +project_name: none, none, 'RTEMS-%{rtems_version}' > + > ========== > > I'm getting an error "error: cannot expand default macro: %{rtems_version} " > > I see the rtems_version macro if I print the macros. How do I access this > macro? Please add `--trace` to the command line and see how the cfg files are being processed. Compare this to a tester command that is working. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel