Add JAVA_OPTIONS multiValue argument to our generation function
To make sure that no error comes out of the change I added in
qt6_add_openapi_client call inside compression test:
JAVA_OPTIONS
-DmaxYamlCodePoints=99999999
-Dlog.level=warn
In the future we should maybe have a manual test. It's not a good idea
to add a large file into our auto tests because It will take a lot of
time to configure.
As a drive-by change, print the target name upon successful generation.
When the log level is set to warn (in compression tests) the generator's
info-level output, such as per-file writing notifications, will not be
printed. So it's weird to only see:
-- [QtOpenAPI] Generation completed successfully
Documentation will be added in a follow-up patch.
Task-number: QTBUG-143165
Pick-to: 6.11
Change-Id: I39b9a9e501102f667bc82d19ee3061af21a6241d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>