Skip to content

Commit 81ef585

Browse files
Blacklist pos/annot-2.scala
1 parent 6a697ee commit 81ef585

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

compiler/test/dotc/pos-from-tasty.blacklist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ repeatedArgs213.scala
1515

1616
# Error printing parent constructors that are blocks
1717
default-super.scala
18+
19+
annot-2.scala

compiler/test/dotty/tools/dotc/IdempotencyTests.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ class IdempotencyTests extends ParallelTesting {
3636
val strawmanSourcesSorted = strawmanSources.sorted
3737
val strawmanSourcesRevSorted = strawmanSourcesSorted.reverse
3838

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

4445
val orderIdempotency = {

tests/idempotency/IdempotencyCheck.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ object IdempotencyCheck {
1010
"pos/Map/scala/collection/immutable/Map",
1111
"pos/Map/scala/collection/immutable/AbstractMap",
1212
"pos/t1203a/NodeSeq",
13-
"pos/i2345/Whatever"
13+
"pos/i2345/Whatever",
14+
"pos/annot-2.scala"
1415
)
1516

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

0 commit comments

Comments
 (0)