Dependency of js tests generation on compiler test data generation (KTI-404)
There was an error during "Generate Compiler Tests" execution: Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: compiler\testData\codegen\box\ranges\expression\inexactDownToMinValue.kt The error was probable caused by parallel execution of tasks:compiler:generateTests and :js:js.tests:generateTests. Exception could occur when GenerateRangesCodegenTestData.main(args) has just removed directory with test data for regeneration but :js:js.tests:generateTests had already seen files present. #KTI-404 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
0ca7c50452
commit
df9ecb0f4a
@@ -98,6 +98,9 @@ projectTest(parallel = true) {
|
||||
}
|
||||
}
|
||||
|
||||
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsKt")
|
||||
val generateTestData by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestDataKt")
|
||||
val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateCompilerTestsKt") {
|
||||
dependsOn(generateTestData)
|
||||
}
|
||||
|
||||
testsJar()
|
||||
|
||||
Reference in New Issue
Block a user