RFR: 7903692: JTREG_HOME and JT_HOME can interfere with jtreg self tests

Jonathan Gibbons jjg at openjdk.org
Tue Mar 19 19:38:30 UTC 2024


On Thu, 7 Mar 2024 09:26:25 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Hello Christian,
> 
> > but could potentially break use-cases on other setups, right?
> 
> I'm unaware if running the jtreg self tests was expected to run those tests against anything other than the one being built and tested. If at all we need to support the case where these tests need to be run against a specific jtreg binary, then maybe we could enhance these scripts (and documentation) to expect the user to explicitly set a `JTREG_TEST_BINARY_HOME` (this variable doesn't exist right now), so that the envrionment variable is only known/honoured by the test run?

The intent of the self-tests is just to test the binary that has just been built, in the same repo.

-------------

PR Comment: https://git.openjdk.org/jtreg/pull/189#issuecomment-2007973348


More information about the jtreg-dev mailing list