RFR: 7903443: Propagate verbose flag to agents [v2]
Jonathan Gibbons
jjg at openjdk.org
Wed May 29 19:14:13 UTC 2024
On Wed, 29 May 2024 19:03:30 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> Yes. Without this assertion in place, an IDE-based launch of `jtreg`'s main program is possible. For example, here are the options for a test run for all self-tests in `test/junit`:
>>
>> -Djunit.path=<ABSOLUTE-PATH-TO>/jtreg/build/deps/junit/junit-platform-console-standalone-1.10.2.jar
>> com.sun.javatest.regtest.Main
>> -v:pass,error,fail
>> test/junit
>>
>> I tried to provide an empty `jars.properties` instead of removing the check, but that didn't work out.
>
> Which tests are you hoping to run by having the IDE invoke the main program directly? And how about you hoping to invoke `jtreg` -- on the source directory or on the generated `.jar` files?
>
> If you are hoping to run JDK tests, I can believe that the IDE can make JUnit and TestNG available -- but what about asmtools -- which is also normally in `jars.properties`.
Without addressing the need for `asmtools`, you're at risk for an NPE in `ActionRecorder.java:157`
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/187#discussion_r1619360869
More information about the jtreg-dev
mailing list