Fix paths to stdlib-jre6 test output

This commit is contained in:
Ilya Gorbunov
2017-09-13 07:45:11 +03:00
committed by Ilya Chernikov
parent e3899ff7ee
commit 99f2cc3d00
2 changed files with 16 additions and 6 deletions
+8 -3
View File
@@ -65,13 +65,18 @@ test {
}
task testJre6Tests(type: Test) {
dependsOn project(':kotlin-stdlib').tasks.testClasses
dependsOn(':kotlin-stdlib:testClasses')
group = "verification"
executable = "$JDK_17/bin/java"
testClassesDir = project.file('../build/classes/test')
classpath = project.files('../build/classes/test') + sourceSets.test.compileClasspath
doFirst {
testClassesDirs = project(':kotlin-stdlib').sourceSets.test.output
classpath = files(
testClassesDirs,
configurations.testCompile
)
}
}
check.dependsOn testJre6Tests
+8 -3
View File
@@ -68,13 +68,18 @@ test {
task testJre6Tests(type: Test) {
dependsOn project(':kotlin-stdlib').tasks.testClasses
dependsOn(':kotlin-stdlib:testClasses')
group = "verification"
executable = "$JDK_18/bin/java"
testClassesDir = project.file('../build/classes/test')
classpath = project.files('../build/classes/test') + sourceSets.test.compileClasspath
doFirst {
testClassesDirs = project(':kotlin-stdlib').sourceSets.test.output
classpath = files(
testClassesDirs,
configurations.testCompile
)
}
}
check.dependsOn testJre6Tests