From c96859cd1218ff0cff44bc3a92016f1fd961aa9b Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 28 Feb 2018 13:49:03 +0100 Subject: [PATCH 1/4] Re-enable from tasty tests Probably fixed by b24f80d84cc4061c929d6dbce23728c0ab3192b2 --- compiler/test/dotty/tools/dotc/FromTastyTests.scala | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index e48fa73198eb..40ebbf466fdb 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -36,10 +36,6 @@ class FromTastyTests extends ParallelTesting { // Wrong number of arguments "i3130b.scala", - // Class not found - "simpleCaseObject.scala", - "i3130a.scala", - // Owner discrepancy for refinements "NoCyclicReference.scala", "i1795.scala", From 52f5221442aa7149888a1c0af37cf3808a8df43f Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 28 Feb 2018 14:01:48 +0100 Subject: [PATCH 2/4] Enable from tasty tests --- .../dotty/tools/dotc/FromTastyTests.scala | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index 40ebbf466fdb..56de9083fa5e 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -30,50 +30,25 @@ class FromTastyTests extends ParallelTesting { blacklist = Set( "macro-deprecate-dont-touch-backquotedidents.scala", - // Compiles wrong class - "simpleClass.scala", - - // Wrong number of arguments - "i3130b.scala", - // Owner discrepancy for refinements - "NoCyclicReference.scala", - "i1795.scala", "lambdalift-1.scala", // Cannot merge members "depfuntype.scala", - // NPE in HKLambda.computeHash - "i2888.scala", - "i974.scala", - "t3800.scala", - // Type miss match after unpickling - "i2944.scala", - "t8023.scala", "hklub0.scala", - "i1365.scala", - "t6205.scala", // Missing position "i3000.scala", "t1203a.scala", "t2260.scala", - "t4579.scala", - "tcpoly_ticket2096.scala", - "t247.scala", "i2345.scala", - "i0306.scala", "t4731.scala", "spec-super.scala", "spec-sparsearray-old.scala", "collections_1.scala", - // cyclic type references - "i536.scala", - "cyclics-pos.scala", - // Anonymous method not defined "i3067.scala", @@ -97,20 +72,15 @@ class FromTastyTests extends ParallelTesting { val (step1, step2, step3) = compileTastyInDir("tests/run", defaultOptions, blacklist = Set( - "t3613.scala", "t7223.scala", - "t7899-regression.scala", // Missing position "Course-2002-13.scala", "bridges.scala", "i2337.scala", "i2337b.scala", - "enum-approx.scala", - "inlineForeach.scala", "scala2trait-lazyval.scala", "t3452f.scala", - "t5428.scala", // Closure type miss match "eff-dependent.scala", From d332b55de5194ec657b82414be4997a3bd487256 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 28 Feb 2018 14:15:26 +0100 Subject: [PATCH 3/4] Disable from tasty tests/pos/i3130a.scala Failing on CI only --- 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 56de9083fa5e..8fff6641f0d4 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -30,6 +30,9 @@ class FromTastyTests extends ParallelTesting { blacklist = Set( "macro-deprecate-dont-touch-backquotedidents.scala", + // Class not found + "i3130a.scala", + // Owner discrepancy for refinements "lambdalift-1.scala", From 771f3c396660d4bf3dcc3b92c1d73183844fca28 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 28 Feb 2018 14:53:50 +0100 Subject: [PATCH 4/4] Disable from tasty tests that fail on CI --- compiler/test/dotty/tools/dotc/FromTastyTests.scala | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index 8fff6641f0d4..40d89815c17e 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -30,6 +30,12 @@ class FromTastyTests extends ParallelTesting { blacklist = Set( "macro-deprecate-dont-touch-backquotedidents.scala", + // Compiles wrong class + "simpleClass.scala", + + // Wrong number of arguments + "i3130b.scala", + // Class not found "i3130a.scala", @@ -46,6 +52,8 @@ class FromTastyTests extends ParallelTesting { "i3000.scala", "t1203a.scala", "t2260.scala", + "t4579.scala", + "tcpoly_ticket2096.scala", "i2345.scala", "t4731.scala", "spec-super.scala",