File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
compiler/test/dotty/tools/vulpix Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
234
234
private [this ] val failedTestSources = mutable.ArrayBuffer .empty[String ]
235
235
protected final def failTestSource (testSource : TestSource , reason : Option [String ] = None ) = synchronized {
236
236
val extra = reason.map(" with reason: " + _).getOrElse(" " )
237
- failedTestSources.append(testSource.name + " failed" + extra)
237
+ failedTestSources.append(testSource.title + s " failed (in ${testSource.name} ) " + extra)
238
238
fail()
239
239
}
240
240
@@ -515,11 +515,15 @@ trait ParallelTesting extends RunnerOrchestration { self =>
515
515
else if (errorCount == 0 ) runMain(testSource.classPath) match {
516
516
case Success (_) => // success!
517
517
case Failure (output) =>
518
+ echo(s " failed when running ' ${testSource.title}' " )
519
+ echo(output)
518
520
failTestSource(testSource)
519
521
case Timeout =>
522
+ echo(" failed because test " + testSource.title + " timed out" )
520
523
failTestSource(testSource, Some (" test timed out" ))
521
524
}
522
525
else if (errorCount > 0 ) {
526
+ echo(s " \n Compilation failed for: ' $testSource' " )
523
527
val buildInstr = testSource.buildInstructions(errorCount, warningCount)
524
528
addFailureInstruction(buildInstr)
525
529
failTestSource(testSource)
You can’t perform that action at this time.
0 commit comments