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
@@ -54,11 +54,12 @@ var Project.javaHome: String?
|
||||
extra["javaHome"] = v
|
||||
}
|
||||
|
||||
fun Project.generator(fqName: String, sourceSet: SourceSet? = null) = smartJavaExec {
|
||||
fun Project.generator(fqName: String, sourceSet: SourceSet? = null, configure: JavaExec.() -> Unit = {}) = smartJavaExec {
|
||||
classpath = (sourceSet ?: testSourceSet).runtimeClasspath
|
||||
mainClass.set(fqName)
|
||||
workingDir = rootDir
|
||||
systemProperty("line.separator", "\n")
|
||||
configure()
|
||||
}
|
||||
|
||||
fun Project.getBooleanProperty(name: String): Boolean? = this.findProperty(name)?.let {
|
||||
|
||||
Reference in New Issue
Block a user