Skip to content

Commit

Permalink
Move all pickling tests to pos
Browse files Browse the repository at this point in the history
Move pickling/annot.scala to pending as it doesn't pass Ycheck,
see scala#5073.
  • Loading branch information
OlivierBlanvillain committed Sep 3, 2018
1 parent c62e467 commit 72a17e9
Show file tree
Hide file tree
Showing 50 changed files with 1 addition and 780 deletions.
1 change: 0 additions & 1 deletion compiler/test/dotty/tools/dotc/CompilationTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ class CompilationTests extends ParallelTesting {
@Test def pickling: Unit = {
implicit val testGroup: TestGroup = TestGroup("testPickling")
compileFilesInDir("tests/new", picklingOptions) +
compileFilesInDir("tests/pickling", picklingOptions) +
compileFilesInDir("tests/pos", picklingOptions, FileFilter.exclude(TestSources.posTestPicklingBlacklisted)) +
compileFilesInDir("tests/run", picklingOptions, FileFilter.exclude(TestSources.runTestPicklingBlacklisted))
}.checkCompile()
Expand Down
1 change: 1 addition & 0 deletions tests/pickling/annot.scala → tests/pending/annot-2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class RefinedType extends Type
object TestAnnot {
def toText(tp: Type) = tp match {
case tp: RefinedType =>
// Doesn't Ycheck, see #5073
val parent :: (refined: List[RefinedType @unchecked]) = ???
???
}
Expand Down
59 changes: 0 additions & 59 deletions tests/pickling/Coder.scala

This file was deleted.

3 changes: 0 additions & 3 deletions tests/pickling/alias.scala

This file was deleted.

32 changes: 0 additions & 32 deletions tests/pickling/arrays2.scala

This file was deleted.

88 changes: 0 additions & 88 deletions tests/pickling/desugar.scala

This file was deleted.

56 changes: 0 additions & 56 deletions tests/pickling/hk.scala

This file was deleted.

10 changes: 0 additions & 10 deletions tests/pickling/i3608.scala

This file was deleted.

45 changes: 0 additions & 45 deletions tests/pickling/i94-nada.scala

This file was deleted.

63 changes: 0 additions & 63 deletions tests/pickling/nameddefaults.scala

This file was deleted.

17 changes: 0 additions & 17 deletions tests/pickling/new-array.scala

This file was deleted.

Loading

0 comments on commit 72a17e9

Please sign in to comment.