Skip to content

Commit 5edcee6

Browse files
committed
Add blacklisting instructions
1 parent acd270d commit 5edcee6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,12 +1284,16 @@ trait ParallelTesting extends RunnerOrchestration { self =>
12841284
) extends JointCompilationSource(name, Array(file), flags, outDir, fromTasty, decompilation) {
12851285

12861286
override def buildInstructions(errors: Int, warnings: Int): String = {
1287+
val runOrPos = if (file.getPath.startsWith("tests/run/")) "run" else "pos"
1288+
val listName = if (fromTasty) "from-tasty" else "decompilation"
12871289
s"""|
12881290
|Test '$title' compiled with $errors error(s) and $warnings warning(s),
12891291
|the test can be reproduced by running:
12901292
|
12911293
| sbt "testFromTasty $file"
12921294
|
1295+
|This tests can be disabled by adding `${file.getName}` to `compiler/test/dotc/$runOrPos-$listName.blacklist`
1296+
|
12931297
|""".stripMargin
12941298
}
12951299

0 commit comments

Comments
 (0)