Skip to content

Commit 5f3b57a

Browse files
committed
Fix #4143: Ignore lines "Picked up _JAVA_OPTIONS" in tests
1 parent 1fdb94b commit 5f3b57a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
600600
else runMain(testSource.runClassPath) match {
601601
case Success(_) if !checkFile.isDefined || !checkFile.get.exists => // success!
602602
case Success(output) => {
603-
val outputLines = output.lines.toArray :+ DiffUtil.EOF
603+
val outputLines = output.lines.filterNot(_.startsWith("Picked up _JAVA_OPTIONS")).toArray :+ DiffUtil.EOF
604604
val checkLines: Array[String] = Source.fromFile(checkFile.get).getLines().toArray :+ DiffUtil.EOF
605605
val sourceTitle = testSource.title
606606

0 commit comments

Comments
 (0)