Integrated: 8146132: Excessive output from make test-image

Erik Joelsson erikj at openjdk.org
Mon Jan 23 21:00:13 UTC 2023


On Tue, 17 Jan 2023 22:18:59 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> Here is my attempt at solving Coleen's logging issue. This patch changes the log level for the "build info" log messages for all native test libs and executables to `LogInfo`. It also adds a new meta log message for each call to SetupTestFilesCompilation, which is kept on LogWarn level, which prints a single line with the number of test files being compiled in this call. For `make test-image`, we have 5 such calls so the output will look like this, which I think is quite reasonable:
> 
> 
> Creating 1 test executable file(s) for BUILD_LIBTEST_JTREG_EXECUTABLES
> Creating 45 test library file(s) for BUILD_JDK_JTREG_LIBRARIES
> Creating 6 test executable file(s) for BUILD_JDK_JTREG_EXECUTABLES
> Creating 853 test library file(s) for BUILD_HOTSPOT_JTREG_LIBRARIES
> Creating 16 test executable file(s) for BUILD_HOTSPOT_JTREG_EXECUTABLES

This pull request has now been integrated.

Changeset: 0ea2dd1f
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0ea2dd1f77a7925d02ae0136bb40dcc8abf354d9
Stats:     26 lines in 2 files changed: 22 ins; 0 del; 4 mod

8146132: Excessive output from make test-image

Reviewed-by: ihse

-------------

PR: https://git.openjdk.org/jdk/pull/12052



More information about the build-dev mailing list