It works, thanks! I found a JBS issue that mentions this: https://bugs.openjdk.org/browse/JDK-8220639. I wonder if this parameter can be mentioned in these documents, so it could be easily found by the next person:
- https://openjdk.org/groups/build/doc/testing.html - https://github.com/openjdk/jdk/blob/master/doc/testing.md - https://openjdk.org/guide/#testing-the-jdk On Thu, Oct 2, 2025 at 7:40 PM Daniel Jeliński <[email protected]> wrote: > > Hi Pavel, > JTREG=MAX_OUTPUT=999999999 is what you're looking for. > Cheers, > Daniel > > czw., 2 paź 2025 o 20:37 Pavel Rappo <[email protected]> napisał(a): > > > > Hello, > > > > This has been probably asked multiple times, but I cannot quickly find > > anything. I'm running a set of tests as follows: > > > > make test TEST="test/jdk/java/time/" > > > > If a test fails, sometimes I get this output: > > > > ... > > Output overflow: > > JT Harness has limited the test output to the text > > at the beginning and the end, so that you can see how the > > test began, and how it completed. > > > > If you need to see more of the output from the test, > > set the system property javatest.maxOutputSize to a higher > > value. The current value is 100000 > > ... > > > > I know there's even an FAQ item [^1] addressing this property. But I > > cannot easily see how to translate jtreg syntax to that of `make > > test`. Whatever I tried hasn't worked. As a workaround, I added this > > to the nearest TEST.properties: > > > > maxOutputSize=99999999 > > > > [^1]: https://openjdk.org/jtreg/faq.html#how-to-set-javatest.maxOutputSize
