How to pass javatest.maxOutputSize to make test?
Daniel Jeliński
djelinski1 at gmail.com
Thu Oct 2 18:40:39 UTC 2025
Hi Pavel,
JTREG=MAX_OUTPUT=999999999 is what you're looking for.
Cheers,
Daniel
czw., 2 paź 2025 o 20:37 Pavel Rappo <pavel.rappo at gmail.com> 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
More information about the build-dev
mailing list