RFR: 7903738 : jtr.xml logs produced with -xml argument do not contain compilation failure justification - alternative approach [v2]
andrlos
duke at openjdk.org
Thu Oct 3 14:35:49 UTC 2024
On Tue, 28 May 2024 17:05:43 GMT, andrlos <duke at openjdk.org> wrote:
>> this is an alternative to https://github.com/openjdk/jtreg/pull/198
>> here we are collecting all the System.err outputs and putting them into a StringBuilder and returning them as one long string..
>> Order of the sections should be intact, so it should go chronologically according to the test execution.
>> This could be also improved by adding section separator Strings into the StringBuilder between individual sections.
>> Also we could drop the `if (titles[i].equals("main") || ...` part and output any System.err output found in jtr.xml as part of the test failure
>
> andrlos has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>
> alternative approach to jtr.xml transcription
rebased to the latest master on openjdk/jtreg. Somebody, please review?
keep in mind that this is an alternative to https://github.com/openjdk/jtreg/pull/198 and only one of them should be merged..
-------------
PR Comment: https://git.openjdk.org/jtreg/pull/199#issuecomment-2391582002
More information about the jtreg-dev
mailing list