File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff 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+
318352if (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" )
You can’t perform that action at this time.
0 commit comments