Skip to content

Commit

Permalink
run test suite with 'Xcheck:jni' JVM argument (#1734)
Browse files Browse the repository at this point in the history
Run the test suite with "Xcheck:jni" so that we can
detect any critical JNI problems
  • Loading branch information
sullis authored Jan 27, 2024
1 parent 3fff7df commit 94cf822
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ subprojects {
]
}

tasks.withType(Test).configureEach {
jvmArgs += [
"-Xcheck:jni"
]
}

test {
useJUnitPlatform()
testLogging {
Expand Down

0 comments on commit 94cf822

Please sign in to comment.