RFR: 7903443: Propagate verbose flag to agents
Christian Stein
cstein at openjdk.org
Fri May 24 10:20:21 UTC 2024
On Fri, 17 May 2024 15:44:38 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Please review this change to make `jtreg` propagate its verbosity configuration to agents.
>>
>> This pull request also updates the `JUnitRunner` agent to evaluate the verbosity configuration and act accordingly.
>> For example, passing `-v:nopass,error,fail` at the command line to `jtreg` will suppress the `STARTED: ...` and `SUCCESSFUL: ...` lines in `.jtr` files for JUnit-based tests.
>
> src/share/classes/com/sun/javatest/regtest/exec/RegressionScript.java line 1146:
>
>> 1144: if (verbose != null) {
>> 1145: p.put("test.verbose", verbose.toString());
>> 1146: }
>
> You should not need the guard if you implemented `load`/`save` in `RegressionParamaters`
Same goes for the `testQuery` field above, right?
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/187#discussion_r1605238653
More information about the jtreg-dev
mailing list