From 35c454f53f6ed3253f3c68b655671e9415d61fd3 Mon Sep 17 00:00:00 2001 From: Cuihtlauac ALVARADO Date: Wed, 17 Jan 2018 14:08:40 +0100 Subject: [PATCH] Filter out "Picked Up" messages from stderr KT-22340 Fixed --- compiler/tests/org/jetbrains/kotlin/cli/LauncherScriptTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/org/jetbrains/kotlin/cli/LauncherScriptTest.kt b/compiler/tests/org/jetbrains/kotlin/cli/LauncherScriptTest.kt index a9acea66644..e9d6cf1267a 100644 --- a/compiler/tests/org/jetbrains/kotlin/cli/LauncherScriptTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/cli/LauncherScriptTest.kt @@ -42,7 +42,7 @@ class LauncherScriptTest : TestCaseWithTmpdir() { workDirectory?.let(cmd::withWorkDirectory) val processOutput = ExecUtil.execAndGetOutput(cmd) val stdout = StringUtil.convertLineSeparators(processOutput.stdout) - val stderr = StringUtil.convertLineSeparators(processOutput.stderr) + val stderr = StringUtil.convertLineSeparators(processOutput.stderr).replace("Picked up [_A-Z]+:.*\n".toRegex(), "") val exitCode = processOutput.exitCode try {