Fix: Kotlin/Native compiler tool name in Gradle IT
This commit is contained in:
+2
-2
@@ -145,7 +145,7 @@ class NewMultiplatformIT : BaseGradleIT() {
|
|||||||
|
|
||||||
fun CompiledProject.checkProgramCompilationCommandLine(check: (String) -> Unit) {
|
fun CompiledProject.checkProgramCompilationCommandLine(check: (String) -> Unit) {
|
||||||
output.lineSequence().filter {
|
output.lineSequence().filter {
|
||||||
it.contains("Run tool: konanc") && it.contains("-p program")
|
it.contains("Run tool: \"konanc\"") && it.contains("-p program")
|
||||||
}.toList().also {
|
}.toList().also {
|
||||||
assertTrue(it.isNotEmpty())
|
assertTrue(it.isNotEmpty())
|
||||||
}.forEach(check)
|
}.forEach(check)
|
||||||
@@ -1026,7 +1026,7 @@ class NewMultiplatformIT : BaseGradleIT() {
|
|||||||
val commandLine = output.lineSequence().dropWhile {
|
val commandLine = output.lineSequence().dropWhile {
|
||||||
!it.contains("Executing actions for task '$taskPath'")
|
!it.contains("Executing actions for task '$taskPath'")
|
||||||
}.first {
|
}.first {
|
||||||
it.contains("Run tool: konanc")
|
it.contains("Run tool: \"konanc\"")
|
||||||
}
|
}
|
||||||
check(commandLine)
|
check(commandLine)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user