Skip to content

Triage FromTasty tests #3837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 39 additions & 16 deletions compiler/test/dotty/tools/dotc/FromTastyTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,42 @@ class FromTastyTests extends ParallelTesting {
implicit val testGroup: TestGroup = TestGroup("posTestFromTasty")
val (step1, step2) = compileTastyInDir("../tests/pos", defaultOptions,
blacklist = Set(
// Owner discrepancy for refinements
"NoCyclicReference.scala",
"depfuntype.scala",
"hklub0.scala",
"i0306.scala",
"i1365.scala",
"i1795.scala",
"i2345.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",

// Missing position
"i3000.scala",
"i536.scala",
"i974.scala",
"t1203a.scala",
"t2260.scala",
"t3612.scala", // Test never finishes
"t3800.scala",
"t4579.scala",
"t8023.scala",
"tcpoly_ticket2096.scala",
"t247.scala",
"i2345.scala",
"i0306.scala",

// cyclic type references
"i536.scala",

// Anonymous method not defined
"i3067.scala",

// Infinite compilation
"t3612.scala",
)
)
step1.checkCompile() // Compile all files to generate the class files with tasty
Expand All @@ -65,14 +80,26 @@ class FromTastyTests extends ParallelTesting {
implicit val testGroup: TestGroup = TestGroup("runTestFromTasty")
val (step1, step2) = compileTastyInDir("../tests/run", defaultOptions,
blacklist = Set(
"t3613.scala",

// Missing position
"Course-2002-13.scala",
"bridges.scala",
"eff-dependent.scala",
"enum-approx.scala",
"i2337.scala",
"i2337b.scala",
"enum-approx.scala",
"inlineForeach.scala",
"scala2trait-lazyval.scala",
"t3452f.scala",

// Closure type miss match
"eff-dependent.scala",

// Unpickling tree without owner
"patmat-bind-typed.scala",
"t8395.scala",

// Issue unpickling universes
"phantom-decls-1.scala",
"phantom-decls-3.scala",
"phantom-decls-5.scala",
Expand All @@ -85,10 +112,6 @@ class FromTastyTests extends ParallelTesting {
"phantom-poly-2.scala",
"phantom-poly-3.scala",
"phantom-poly-4.scala",
"scala2trait-lazyval.scala",
"t3452f.scala",
"t8395.scala",
"t3613.scala",
)
)
step1.checkCompile() // Compile all files to generate the class files with tasty
Expand Down