[Spec tests] Enable running spec tests at all for remote run
This commit is contained in:
committed by
Victor Petukhov
parent
509036b08b
commit
5f4a94a1b3
+1
-1
@@ -535,7 +535,7 @@ tasks {
|
||||
":compiler:test",
|
||||
":compiler:container:test",
|
||||
":compiler:tests-java8:test",
|
||||
":compiler:tests-spec:remoteRunTests",
|
||||
":compiler:tests-spec:test",
|
||||
":compiler:tests-against-klib:test"
|
||||
)
|
||||
dependsOn(":plugins:jvm-abi-gen:test")
|
||||
|
||||
@@ -28,24 +28,6 @@ val generateFeatureInteractionSpecTestData by generator("org.jetbrains.kotlin.sp
|
||||
|
||||
val printSpecTestsStatistic by generator("org.jetbrains.kotlin.spec.utils.tasks.PrintSpecTestsStatisticKt")
|
||||
|
||||
val remoteRunTests by task<Test> {
|
||||
val packagePrefix = "org.jetbrains.kotlin.spec."
|
||||
val includeTests = setOf(
|
||||
"checkers.DiagnosticsTestSpecGenerated\$NotLinked\$Contracts*",
|
||||
"checkers.DiagnosticsTestSpecGenerated\$NotLinked\$Annotations*",
|
||||
"checkers.DiagnosticsTestSpecGenerated\$NotLinked\$Local_variables\$Type_parameters*",
|
||||
"checkers.DiagnosticsTestSpecGenerated\$NotLinked\$Dfa*",
|
||||
"codegen.BlackBoxCodegenTestSpecGenerated\$NotLinked\$Annotations\$Type_annotations*",
|
||||
"codegen.BlackBoxCodegenTestSpecGenerated\$NotLinked\$Objects\$Inheritance*"
|
||||
)
|
||||
|
||||
workingDir = rootDir
|
||||
|
||||
filter {
|
||||
includeTests.forEach { includeTestsMatching(packagePrefix + it) }
|
||||
}
|
||||
}
|
||||
|
||||
val specConsistencyTests by task<Test> {
|
||||
workingDir = rootDir
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ tasks {
|
||||
dependsOn(":compiler:test",
|
||||
":compiler:container:test",
|
||||
":compiler:tests-java8:test",
|
||||
":compiler:tests-spec:remoteRunTests")
|
||||
":compiler:tests-spec:test")
|
||||
dependsOn(":plugins:jvm-abi-gen:test")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user