[Spec tests] Enable running spec tests at all for remote run

This commit is contained in:
anastasiia.spaseeva
2020-03-18 21:45:05 +03:00
committed by Victor Petukhov
parent 509036b08b
commit 5f4a94a1b3
3 changed files with 2 additions and 20 deletions
+1 -1
View File
@@ -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")
-18
View File
@@ -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")
}