RFR: 8238263: Create at-requires mechanism for containers
Harold Seigel
hseigel at openjdk.java.net
Mon Oct 26 18:17:16 UTC 2020
On Mon, 26 Oct 2020 14:25:14 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:
>> Defining an environment variable works when running JTReg from the command line. But, mach5 does not pass environment variable settings to its JTReg test runs. Some mach5 special command args would still be needed.
>
>> Defining an environment variable works when running JTReg from the command line. But, mach5 does not pass environment variable settings to its JTReg test runs. Some mach5 special command args would still be needed.
>
> right, yet given you also need to explicitly say mach5 that you want to run testing within docker, that's not a huge problem. this is assuming we default env. variable to `false`, `make` propagates this env. variable to `jtreg` and `jtreg` propagates it to the JVM which runs `VMProps` class.
Please review this updated webrev that adds environment variable TEST_JDK_CONTAINERIZED for setting @requires jdk.containerized. When TEST_JDK_CONTAINERIZED is unset, jdk.containerized is false.
-------------
PR: https://git.openjdk.java.net/jdk/pull/844
More information about the core-libs-dev
mailing list