Include part of the spec tests to the compiler dist tests
This commit is contained in:
+2
-1
@@ -423,7 +423,8 @@ tasks {
|
|||||||
dependsOn("dist")
|
dependsOn("dist")
|
||||||
dependsOn(":compiler:test",
|
dependsOn(":compiler:test",
|
||||||
":compiler:container:test",
|
":compiler:container:test",
|
||||||
":compiler:tests-java8:test")
|
":compiler:tests-java8:test",
|
||||||
|
":compiler:tests-spec:remoteRunTests")
|
||||||
}
|
}
|
||||||
|
|
||||||
create("jsCompilerTest") {
|
create("jsCompilerTest") {
|
||||||
|
|||||||
@@ -23,3 +23,16 @@ val generateFeatureInteractionSpecTestData by generator("org.jetbrains.kotlin.sp
|
|||||||
val printSpecTestsStatistic by generator("org.jetbrains.kotlin.spec.tasks.PrintSpecTestsStatisticKt")
|
val printSpecTestsStatistic by generator("org.jetbrains.kotlin.spec.tasks.PrintSpecTestsStatisticKt")
|
||||||
|
|
||||||
val generateJsonTestsMap by generator("org.jetbrains.kotlin.spec.tasks.GenerateJsonTestsMapKt")
|
val generateJsonTestsMap by generator("org.jetbrains.kotlin.spec.tasks.GenerateJsonTestsMapKt")
|
||||||
|
|
||||||
|
val remoteRunTests by task<Test> {
|
||||||
|
val packagePrefix = "org.jetbrains.kotlin."
|
||||||
|
val includeTests = setOf(
|
||||||
|
"checkers.DiagnosticsTestSpecGenerated\$NotLinked\$Contracts*"
|
||||||
|
)
|
||||||
|
|
||||||
|
workingDir = rootDir
|
||||||
|
|
||||||
|
filter {
|
||||||
|
includeTests.forEach { includeTestsMatching(packagePrefix + it) }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user