Filter out "Picked Up" messages from stderr
KT-22340 Fixed
This commit is contained in:
committed by
Alexander Udalov
parent
46c2adda4e
commit
35c454f53f
@@ -42,7 +42,7 @@ class LauncherScriptTest : TestCaseWithTmpdir() {
|
|||||||
workDirectory?.let(cmd::withWorkDirectory)
|
workDirectory?.let(cmd::withWorkDirectory)
|
||||||
val processOutput = ExecUtil.execAndGetOutput(cmd)
|
val processOutput = ExecUtil.execAndGetOutput(cmd)
|
||||||
val stdout = StringUtil.convertLineSeparators(processOutput.stdout)
|
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
|
val exitCode = processOutput.exitCode
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user