Skip to content

Commit 68d5152

Browse files
committed
added test 25 stanza to tls subproject
1 parent d280bae commit 68d5152

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

tls/build.gradle

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,40 @@ task test21(type: Test) {
315315
}
316316
}
317317

318+
task test25(type: Test) {
319+
320+
// This is testing the 21 code base
321+
onlyIf {System.getenv("BC_JDK25") != null}
322+
dependsOn jar
323+
324+
testClassesDirs = sourceSets.test21.output.classesDirs
325+
classpath = sourceSets.test21.runtimeClasspath + files(jar.archiveFile)
326+
327+
forkEvery = 1;
328+
maxParallelForks = 8;
329+
330+
systemProperty 'bc.test.data.home', bcTestDataHome
331+
maxHeapSize = "1536m"
332+
testLogging.showStandardStreams = false
333+
334+
javaLauncher = javaToolchains.launcherFor {
335+
languageVersion = JavaLanguageVersion.of(25)
336+
}
337+
338+
jvmArgs = ['-Dtest.java.version.prefix=25']
339+
340+
341+
finalizedBy jacocoTestReport
342+
343+
filter {
344+
includeTestsMatching "AllTest*"
345+
if (project.hasProperty('excludeTests')) {
346+
excludeTestsMatching "${excludeTests}"
347+
}
348+
}
349+
}
350+
351+
318352
if (System.getenv("BC_JDK8") != null) {
319353
System.out.println("${project.name}: Adding test8 as dependency for test task because BC_JDK8 is defined")
320354
test.dependsOn("test8")

0 commit comments

Comments
 (0)