[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
-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