From 4fb016ae283b4b83f9c40b1e20758b7912655423 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Sun, 8 Apr 2018 11:59:09 +0200 Subject: [PATCH 1/2] Clean FromTastyTests blacklist --- .../dotty/tools/dotc/FromTastyTests.scala | 57 +------------------ 1 file changed, 1 insertion(+), 56 deletions(-) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index 75f2ed603242..0884f0f36f5f 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -28,39 +28,10 @@ class FromTastyTests extends ParallelTesting { implicit val testGroup: TestGroup = TestGroup("posTestFromTasty") val (step1, step2, step3) = compileTastyInDir("tests/pos", defaultOptions, blacklist = Set( - "macro-deprecate-dont-touch-backquotedidents.scala", - "t247.scala", - - // Wrong number of arguments - "i3130b.scala", - - // Class not found - "i3130a.scala", - - // Owner discrepancy for refinements - "lambdalift-1.scala", - - // Cannot merge members - "depfuntype.scala", - - // Type miss match after unpickling - "hklub0.scala", - - // Closure type miss match - "i4125.scala", - // Missing position - "t1203a.scala", - "t2260.scala", - "t4579.scala", - "tcpoly_ticket2096.scala", - "i2345.scala", - "t4731.scala", - "spec-super.scala", - "spec-sparsearray-old.scala", "collections_1.scala", - // Infinite compilation + // MatchError in SymDenotation.sourceModule on a ThisType "t3612.scala", ) ) @@ -79,34 +50,8 @@ class FromTastyTests extends ParallelTesting { implicit val testGroup: TestGroup = TestGroup("runTestFromTasty") val (step1, step2, step3) = compileTastyInDir("tests/run", defaultOptions, blacklist = Set( - - "t7223.scala", - "t5428.scala", - - // Missing position - "Course-2002-13.scala", - "bridges.scala", - "i2337.scala", - "i2337b.scala", - "scala2trait-lazyval.scala", - "t3452f.scala", - // Closure type miss match "eff-dependent.scala", - - // Issue unpickling universes - "phantom-decls-1.scala", - "phantom-decls-3.scala", - "phantom-decls-5.scala", - "phantom-hk-1.scala", - "phantom-hk-2.scala", - "phantom-in-value-class.scala", - "phantom-methods-3.scala", - "phantom-methods-4.scala", - "phantom-poly-1.scala", - "phantom-poly-2.scala", - "phantom-poly-3.scala", - "phantom-poly-4.scala", ) ) step1.checkCompile() // Compile all files to generate the class files with tasty From 01318b43db101a6b8dae06a2c96353f84550c1c3 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Sun, 8 Apr 2018 14:23:29 +0200 Subject: [PATCH 2/2] Add back FromTastyTest that only fails on bootstrapped --- compiler/test/dotty/tools/dotc/FromTastyTests.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index 0884f0f36f5f..750245d464a2 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -28,6 +28,9 @@ class FromTastyTests extends ParallelTesting { implicit val testGroup: TestGroup = TestGroup("posTestFromTasty") val (step1, step2, step3) = compileTastyInDir("tests/pos", defaultOptions, blacklist = Set( + // Wrong number of arguments (only on bootstrapped) + "i3130b.scala", + // Missing position "collections_1.scala",