From 8089a72ef6065a2a01304aa1cc251d9950731527 Mon Sep 17 00:00:00 2001 From: Kostya Date: Thu, 20 Aug 2026 10:24:22 +0300 Subject: Add JaCoCo coverage reporting to test.sh Vendor jacocoagent.jar/jacococli.jar under lib/jacoco/ (excluded from the shipped classpath), attach the agent during test runs, and generate an HTML+XML report into build/coverage after tests pass. --- tools/_util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/_util.sh') diff --git a/tools/_util.sh b/tools/_util.sh index fa7e3b5..fde4797 100644 --- a/tools/_util.sh +++ b/tools/_util.sh @@ -29,7 +29,7 @@ if [ ! -x "$JAR" ]; then fi is_shippable_jar() { - case "$1" in *-sources.jar | *-javadoc.jar) return 1 ;; *) return 0 ;; esac + case "$1" in *-sources.jar | *-javadoc.jar | lib/jacoco/*) return 1 ;; *) return 0 ;; esac } LIBCP="" for j in lib/*/*.jar; do -- cgit v1.2.3