RFR: 7903443: Propagate verbose flag to agents
Jonathan Gibbons
jjg at openjdk.org
Fri May 24 10:20:21 UTC 2024
On Tue, 5 Mar 2024 11:47:45 GMT, Christian Stein <cstein 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`
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/187#discussion_r1605216749
More information about the jtreg-dev
mailing list