Integrated: 7903601 : jtr.xml logs produced with -xml argument do not contain failure justification
andrlos
duke at openjdk.org
Thu Dec 14 15:33:17 UTC 2023
On Tue, 5 Dec 2023 18:17:36 GMT, andrlos <duke at openjdk.org> wrote:
> issue:
> https://bugs.openjdk.org/browse/CODETOOLS-7903601
>
> with "-xml" argument when a shell driven test fails, the only thing you are getting in jtr.xml file as an explanation is the exit code which is not very helpful.. this is a fix for that which aligns the behavior of shell tests with that of java tests. The solution is up for a discussion, I just did the simplest and sturdiest solution I could think of.. in case there is no "main" section in the original jtr file, the xmlwriter in jtreg tries to iterate the sections again for "shell" section and writes the failure it finds there to the jtr.xml log
This pull request has now been integrated.
Changeset: 8c105f29
Author: jandrlik <jandrlik at redhat.com>
Committer: Christian Stein <cstein at openjdk.org>
URL: https://git.openjdk.org/jtreg/commit/8c105f2953edac0881819131f5f6836bda06ef25
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
7903601: jtr.xml logs produced with -xml argument do not contain failure justification
Reviewed-by: jjg
-------------
PR: https://git.openjdk.org/jtreg/pull/175
More information about the jtreg-dev
mailing list