From 3ab14aa4ddbc1ef45756e3dc204e8d1b26329f10 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sun, 15 Dec 2024 16:00:51 +0300 Subject: [PATCH] better logging --- .../src/test/groovy/check-all-java-classes-compiled.groovy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eo-runtime/src/test/groovy/check-all-java-classes-compiled.groovy b/eo-runtime/src/test/groovy/check-all-java-classes-compiled.groovy index 009e087851..02aed6bf60 100644 --- a/eo-runtime/src/test/groovy/check-all-java-classes-compiled.groovy +++ b/eo-runtime/src/test/groovy/check-all-java-classes-compiled.groovy @@ -51,5 +51,10 @@ Set actual = Files.walk(binaries) .collect(Collectors.toSet()) if (!actual.containsAll(expected)) { - fail("Not all classes are compiled\nExpected ${expected}\nActual ${actual}") + for (String must : expected) { + if (!actual.contains(must)) { + log.error("Missing: ${must}") + } + } + fail("Not all .java files were compiled to .class files") }