From f552fe656fa8557ba090d96de144273e54b17958 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 16 Oct 2023 15:49:43 +0200 Subject: [PATCH] log execution data --- jacoco_aggregation.gradle.kts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jacoco_aggregation.gradle.kts b/jacoco_aggregation.gradle.kts index ea514f4779..a9edacebe9 100644 --- a/jacoco_aggregation.gradle.kts +++ b/jacoco_aggregation.gradle.kts @@ -1,7 +1,7 @@ apply(plugin = "jacoco") project.afterEvaluate { - val variants = listOf("debug", "fullDebug") + val variants = listOf("fullDebug") tasks.register(name = "jacocoAllDebugReport") { @@ -72,8 +72,10 @@ project.afterEvaluate { subprojects.forEach { proj -> variants.forEach { variant -> val path = "${proj.buildDir}/outputs/unit_test_code_coverage/${variant}UnitTest/test${variant.replaceFirstChar(Char::titlecase)}UnitTest.exec" - // printf("Collecting execution data from: %s\n", path) - if ((File(path)).exists()) it.add(path) + if ((File(path)).exists()) { + it.add(path) + println("Collecting execution data from: $path") + } } } }