mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: missing run configuration should be a build problem, not a fatal failure (fixup)
GitOrigin-RevId: 7f955e3503cc18164fcc5dd55992b7e58222be2a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
512050536a
commit
50a0dbc592
@@ -41,10 +41,10 @@ import java.util.stream.Stream
|
||||
|
||||
internal class TestingTasksImpl(private val context: CompilationContext, private val options: TestingOptions) : TestingTasks {
|
||||
private fun loadRunConfigurations(name: String): List<JUnitRunConfigurationProperties> {
|
||||
val projectHome = context.paths.projectHome
|
||||
val file = RunConfigurationProperties.findRunConfiguration(projectHome, name)
|
||||
val configuration = RunConfigurationProperties.getConfiguration(file)
|
||||
val runConfigurations = try {
|
||||
return try {
|
||||
val projectHome = context.paths.projectHome
|
||||
val file = RunConfigurationProperties.findRunConfiguration(projectHome, name)
|
||||
val configuration = RunConfigurationProperties.getConfiguration(file)
|
||||
when (val type = RunConfigurationProperties.getConfigurationType(configuration)) {
|
||||
JUnitRunConfigurationProperties.TYPE -> {
|
||||
listOf(JUnitRunConfigurationProperties.loadRunConfiguration(file))
|
||||
@@ -63,7 +63,6 @@ internal class TestingTasksImpl(private val context: CompilationContext, private
|
||||
context.messages.warning("##teamcity[buildProblem identity='$name' description='$description']")
|
||||
emptyList()
|
||||
}
|
||||
return runConfigurations
|
||||
}
|
||||
|
||||
override fun runTests(additionalJvmOptions: List<String>, defaultMainModule: String?, rootExcludeCondition: ((Path) -> Boolean)?) {
|
||||
|
||||
Reference in New Issue
Block a user