Skip to content

Commit fab96f9

Browse files
Reproduction instructions are output on a single line
1 parent 22fda02 commit fab96f9

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"""|
@@ -96,7 +97,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
9697
sb.append("\n\ndotc ")
9798
flags.all.foreach { arg =>
9899
if (lineLen > maxLen) {
99-
sb.append(" \\\n ")
100+
sb.append(delimiter)
100101
lineLen = 4
101102
}
102103
sb.append(arg)
@@ -107,7 +108,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
107108
self match {
108109
case source: JointCompilationSource => {
109110
source.sourceFiles.map(_.getAbsolutePath).foreach { path =>
110-
sb.append("\\\n ")
111+
sb.append(delimiter)
111112
sb.append(path)
112113
sb += ' '
113114
}
@@ -118,7 +119,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
118119
val fsb = new StringBuilder(command)
119120
self.compilationGroups.foreach { files =>
120121
files.map(_.getPath).foreach { path =>
121-
fsb.append("\\\n ")
122+
fsb.append(delimiter)
122123
lineLen = 8
123124
fsb.append(path)
124125
fsb += ' '

0 commit comments

Comments
 (0)