Skip to content

Commit 4de59b8

Browse files
Reproduction instructions are output on a single line
1 parent 8e042e0 commit 4de59b8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
8686
val sb = new StringBuilder
8787
val maxLen = 80
8888
var lineLen = 0
89+
val delimiter = " "
8990

9091
sb.append(
9192
s"""|
@@ -95,7 +96,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
9596
sb.append("\n\n./bin/dotc ")
9697
flags.all.foreach { arg =>
9798
if (lineLen > maxLen) {
98-
sb.append(" \\\n ")
99+
sb.append(delimiter)
99100
lineLen = 4
100101
}
101102
sb.append(arg)
@@ -106,7 +107,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
106107
self match {
107108
case source: JointCompilationSource => {
108109
source.sourceFiles.map(_.getAbsolutePath).foreach { path =>
109-
sb.append("\\\n ")
110+
sb.append(delimiter)
110111
sb.append(path)
111112
sb += ' '
112113
}
@@ -117,7 +118,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
117118
val fsb = new StringBuilder(command)
118119
self.compilationGroups.foreach { files =>
119120
files.map(_.getPath).foreach { path =>
120-
fsb.append("\\\n ")
121+
fsb.append(delimiter)
121122
lineLen = 8
122123
fsb.append(path)
123124
fsb += ' '

0 commit comments

Comments
 (0)