Skip to content

Commit

Permalink
Blacklist pos/annot-2.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBlanvillain committed Sep 3, 2018
1 parent 6a697ee commit 81ef585
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions compiler/test/dotc/pos-from-tasty.blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ repeatedArgs213.scala

# Error printing parent constructors that are blocks
default-super.scala

annot-2.scala
5 changes: 3 additions & 2 deletions compiler/test/dotty/tools/dotc/IdempotencyTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ class IdempotencyTests extends ParallelTesting {
val strawmanSourcesSorted = strawmanSources.sorted
val strawmanSourcesRevSorted = strawmanSourcesSorted.reverse

val fileFilter = FileFilter.exclude("annot-2.scala" :: Nil)
val posIdempotency = {
compileFilesInDir("tests/pos", opt)(TestGroup("idempotency/posIdempotency1")) +
compileFilesInDir("tests/pos", opt)(TestGroup("idempotency/posIdempotency2"))
compileFilesInDir("tests/pos", opt, fileFilter = fileFilter)(TestGroup("idempotency/posIdempotency1")) +
compileFilesInDir("tests/pos", opt, fileFilter = fileFilter)(TestGroup("idempotency/posIdempotency2"))
}

val orderIdempotency = {
Expand Down
3 changes: 2 additions & 1 deletion tests/idempotency/IdempotencyCheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ object IdempotencyCheck {
"pos/Map/scala/collection/immutable/Map",
"pos/Map/scala/collection/immutable/AbstractMap",
"pos/t1203a/NodeSeq",
"pos/i2345/Whatever"
"pos/i2345/Whatever",
"pos/annot-2.scala"
)

def checkIdempotency(dir1: String, dir2: String): Unit = {
Expand Down

0 comments on commit 81ef585

Please sign in to comment.