RFR: 7903792: ReportOnlyTest may fail in "headless" environments [v6]

Jaikiran Pai jpai at openjdk.org
Tue Aug 20 00:43:58 UTC 2024


On Tue, 20 Aug 2024 00:19:16 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> Please review a test-only fix to the problems observed running `ReportOnlyTest.gmk`, as seen in some GitHub actions for other PRs. 
>> 
>> The general problem that is addressed is inconsistent determination of a "headless" environment, as determined by `Basic.java` and as given by an env variable when running the tests. 
>> 
>> More details are given in the test itself.
>
> Jonathan Gibbons has updated the pull request incrementally with one additional commit since the last revision:
> 
>   change grep regex

Hello Jon, I should have addressed this a while back but never took this to completion. Sorry about that. That attempt to address this issue resides in an unrelated PR here https://github.com/openjdk/jtreg/pull/190#discussion_r1530995415 and adopts a slightly different approach. I don't have a preference to one over the other. 

As for reviving the other PR with changes (only) for making jtreg build on Java 18+, I will do that this week.

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

PR Comment: https://git.openjdk.org/jtreg/pull/223#issuecomment-2297754833


More information about the jtreg-dev mailing list