Re: [LTP] [PATCH v2] thermal: add new test group

Cyril Hrubis
2025-11-19T09:35:11Z

Hi!
> > +# ---
> > +# env
> > +# {
> > +# "needs_root": true,
> > +# "supported_archs": ["x86", "x86_64"],
> > +# "needs_cmds": ["stress-ng"]
> > +# }
> > +# ---
> > +
> > +export LTP_TIMEOUT_MUL=6
>
> Instead of this the test needs to set up runtime in the environment
> properly. I will send a patch for the tst_run_shell.c that adds support
> for runtime to the JSON env tomorrow.

Patch send. All you need to do in this test is to set the "min_runtime"
to the upper bound of the time the test will take and the test timeout
should be calculated accordingly.

--
Cyril Hrubis
chrubis@suse.cz