Testing SMP Configuration with rtems-test

Joel Sherrill joel at rtems.org
Sat Feb 19 14:09:01 UTC 2022


On Sat, Feb 19, 2022, 7:48 AM Jiri Gaisler <jiri at gaisler.se> wrote:

> You should add -m 4 to the bsp_run_opts in the leon3-sis-cov.ini file,
> which is in
>
> /opt/rtems/6/share/rtems/tester/rtems/testing/bsps/leon3-sis-cov.ini
>
> (or similar depending on where you installed RBS).
>

Alex.. did you ever work with SMP configurations when you were improving
the coverage reports?

--joel


> Jiri.
>
> On 2022-02-19 09:26, Jerzy J wrote:
> > Hi,
> >
> > I've been trying to get some coverage reports on my tests. I'm using
> RTEMS
> > 6 and gr712rc/leon3 bsps.
> >
> > Normally I run my tests using:
> > `./sparc-rtems6-sis -leon3 -r s -m 4
> >
> $HOME/RTEMS/src/rtems/build/sparc/gr712rc/testsuites/validation/ts-model-barrier-mgr-0.exe`
> > , where I can specify `-m 4`.
> >
> > However when using rtems-test:
> > `./rtems-test --rtems-tools=$HOME/RTEMS/rtems/6 --log=log_leon3_sis
> > --rtems-bsp=leon3-sis-cov --coverage
> >
> ~/RTEMS/src/rtems/build/sparc/gr712rc/testsuites/validation/ts-model-barrier-mgr-0.exe
> > `
> > My tests fail, since as I can see in the log it runs:
> > `=>  exe: /home/yoman/RTEMS/rtems/6/bin/sparc-rtems6-sis -leon3 -nouartrx
> > -r -tlim 200 s -cov
> >
> /home/yoman/RTEMS/src/rtems/build/sparc/gr712rc/testsuites/validation/ts-model-barrier-mgr-0.exe`
> > resulting in only 1 cpu online.
> >
> > Is there a way I can pass `-m 4` into rtems-test or is there some extra
> > configuration step I'm probably not aware of that handles this?
> >
> > My 'config.ini' file:
> > `[sparc/gr712rc]
> > RTEMS_SMP = True
> > BUILD_TESTS = True`
> >
> > Thank you in advance and all the best!
> > Jerzy
> > _______________________________________________
> > users mailing list
> > users at rtems.org
> > http://lists.rtems.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>


More information about the users mailing list