[tools] tester: Remove hard coded time limits for SIS
Joel Sherrill
joel at rtems.org
Mon Jul 4 23:44:21 UTC 2022
The limit removed in sis and tsim is the simulated cpu time used. If not
using that, the behavior of the tester is to let the simulator run for so
much real processor time.
Replacing these with a command line argument is probably good but just
removing these mean these simulators will just run much longer before being
killed.
How best to capture the distinction between target run time and host run
time?
On Mon, Jul 4, 2022, 5:38 PM Chris Johns <chrisj at rtems.org> wrote:
> OK
>
> Chris
>
> On 4/7/2022 6:52 pm, Sebastian Huber wrote:
> > Remove the hard coded time limits in the SIS configurations which would
> > overrule the general tester settings (for example the--timeout command
> line
> > option).
> > ---
> > tester/rtems/testing/bsps/erc32-sis.ini | 2 +-
> > tester/rtems/testing/bsps/gr740-sis.ini | 2 +-
> > tester/rtems/testing/bsps/griscv-sis-cov.ini | 2 +-
> > tester/rtems/testing/bsps/griscv-sis.ini | 2 +-
> > tester/rtems/testing/bsps/leon2-sis.ini | 2 +-
> > tester/rtems/testing/bsps/leon3-sis-cov.ini | 2 +-
> > tester/rtems/testing/bsps/leon3-sis.ini | 2 +-
> > 7 files changed, 7 insertions(+), 7 deletions(-)
> >
> > diff --git a/tester/rtems/testing/bsps/erc32-sis.ini
> b/tester/rtems/testing/bsps/erc32-sis.ini
> > index fca2122..fe1eaa0 100644
> > --- a/tester/rtems/testing/bsps/erc32-sis.ini
> > +++ b/tester/rtems/testing/bsps/erc32-sis.ini
> > @@ -36,4 +36,4 @@ bsp = erc32
> > arch = sparc
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -nouartrx -r -tlim 600 s
> > +bsp_run_opts = -nouartrx -r
> > diff --git a/tester/rtems/testing/bsps/gr740-sis.ini
> b/tester/rtems/testing/bsps/gr740-sis.ini
> > index b71048c..5f8dea7 100644
> > --- a/tester/rtems/testing/bsps/gr740-sis.ini
> > +++ b/tester/rtems/testing/bsps/gr740-sis.ini
> > @@ -35,4 +35,4 @@ bsp = gr740
> > arch = sparc
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -gr740 -nouartrx -r -tlim 200 s -m 4
> > +bsp_run_opts = -gr740 -nouartrx -r -m 4
> > diff --git a/tester/rtems/testing/bsps/griscv-sis-cov.ini
> b/tester/rtems/testing/bsps/griscv-sis-cov.ini
> > index 9ab37a8..e356a4d 100644
> > --- a/tester/rtems/testing/bsps/griscv-sis-cov.ini
> > +++ b/tester/rtems/testing/bsps/griscv-sis-cov.ini
> > @@ -36,5 +36,5 @@ bsp = griscv-sis
> > arch = riscv
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -nouartrx -r -tlim 300 s -m 4 -cov
> > +bsp_run_opts = -nouartrx -r -m 4 -cov
> > bsp_covoar_cmd = -S %{bsp_symbol_path} -E %{cov_explanations} -f TSIM
> > diff --git a/tester/rtems/testing/bsps/griscv-sis.ini
> b/tester/rtems/testing/bsps/griscv-sis.ini
> > index b21cba1..8676ea5 100644
> > --- a/tester/rtems/testing/bsps/griscv-sis.ini
> > +++ b/tester/rtems/testing/bsps/griscv-sis.ini
> > @@ -36,4 +36,4 @@ bsp = griscv
> > arch = riscv
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -nouartrx -r -tlim 300 s -m 4
> > +bsp_run_opts = -nouartrx -r -m 4
> > diff --git a/tester/rtems/testing/bsps/leon2-sis.ini
> b/tester/rtems/testing/bsps/leon2-sis.ini
> > index 61205ad..844665c 100644
> > --- a/tester/rtems/testing/bsps/leon2-sis.ini
> > +++ b/tester/rtems/testing/bsps/leon2-sis.ini
> > @@ -36,4 +36,4 @@ bsp = leon2
> > arch = sparc
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -leon2 -nouartrx -r -tlim 200 s
> > +bsp_run_opts = -leon2 -nouartrx -r
> > diff --git a/tester/rtems/testing/bsps/leon3-sis-cov.ini
> b/tester/rtems/testing/bsps/leon3-sis-cov.ini
> > index d8ffe28..59d415f 100644
> > --- a/tester/rtems/testing/bsps/leon3-sis-cov.ini
> > +++ b/tester/rtems/testing/bsps/leon3-sis-cov.ini
> > @@ -36,5 +36,5 @@ bsp = leon3-sis
> > arch = sparc
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -leon3 -nouartrx -r -tlim 200 s -cov
> > +bsp_run_opts = -leon3 -nouartrx -r -cov
> > bsp_covoar_cmd = -S %{bsp_symbol_path} -E %{cov_explanations} -f TSIM
> > diff --git a/tester/rtems/testing/bsps/leon3-sis.ini
> b/tester/rtems/testing/bsps/leon3-sis.ini
> > index 2f933a7..afa9082 100644
> > --- a/tester/rtems/testing/bsps/leon3-sis.ini
> > +++ b/tester/rtems/testing/bsps/leon3-sis.ini
> > @@ -36,4 +36,4 @@ bsp = leon3
> > arch = sparc
> > tester = %{_rtscripts}/run.cfg
> > bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis
> > -bsp_run_opts = -leon3 -nouartrx -r -tlim 200 s -m 4
> > +bsp_run_opts = -leon3 -nouartrx -r -m 4
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220704/8d3b89de/attachment-0001.htm>
More information about the devel
mailing list