Skip to content

Commit 30b167c

Browse files
ninja: fix testNative run
1 parent aa97221 commit 30b167c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ tasks.check {
155155

156156
tasks.jacocoTestReport {
157157
dependsOn(tasks.test, integrationTest) // tests are required to run before generating the report
158-
executionData(fileTree(layout.buildDirectory).include("/jacoco/*.exec"))
158+
executionData(fileTree(layout.buildDirectory).include("/jacoco/*.exec").exclude("/jacoco/testNative.exec"))
159159
doFirst {
160160
logger.lifecycle("Excluding generated classes: ${classesToExclude}")
161161
}
@@ -175,7 +175,7 @@ val classesToExclude = listOf(
175175
)
176176

177177
tasks.jacocoTestCoverageVerification {
178-
executionData(fileTree(layout.buildDirectory).include("/jacoco/*.exec"))
178+
executionData(fileTree(layout.buildDirectory).include("/jacoco/*.exec").exclude("/jacoco/testNative.exec"))
179179
classDirectories.setFrom(
180180
files(classDirectories.files.map { fileTree(it) { exclude(classesToExclude) } })
181181
)

0 commit comments

Comments
 (0)