This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/commons-xml.git
commit 8e00317a720c1c5dadbfa1cc2512e605cf5c2700 Author: Gary Gregory <[email protected]> AuthorDate: Wed Aug 26 07:45:40 2026 -0400 Tests don't print to the console by default. --- src/test/java/org/apache/commons/xml/ShadingFootprintTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/xml/ShadingFootprintTest.java b/src/test/java/org/apache/commons/xml/ShadingFootprintTest.java index 53ad525..0aea492 100644 --- a/src/test/java/org/apache/commons/xml/ShadingFootprintTest.java +++ b/src/test/java/org/apache/commons/xml/ShadingFootprintTest.java @@ -153,7 +153,9 @@ static void reportFootprint() { final long bytes = bytesOf(closure); report.append(String.format(Locale.ROOT, " %-24s %2d classes %7d bytes %5.1f%%%n", entry, closure.size(), bytes, 100.0 * bytes / library)); } - System.out.print(report); + if (Boolean.getBoolean(ShadingFootprintTest.class.getName() + ".reportFootprint")) { + System.out.print(report); + } } /**
