Skip to content

Commit 0c970b1

Browse files
committed
Add tests for dotc.core pickling/unpickling
1 parent de529ac commit 0c970b1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/dotc/tests.scala

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,19 @@ class tests extends CompilerTest {
230230
@Test def tasty_dotc_printing = compileDir(dotcDir, "printing", testPickling)
231231
//@Test def tasty_dotc_reporting = compileDir(dotcDir, "reporting", testPickling)
232232
@Test def tasty_dotc_util = compileDir(dotcDir, "util", testPickling)
233+
@Test def tasty_core = compileList("tasty_core", List(
234+
"Annotations.scala", "Constants.scala", "Constraint.scala", "ConstraintHandling.scala",
235+
"ConstraintRunInfo.scala", "Contexts.scala", "Decorators.scala", "Definitions.scala",
236+
"DenotTransformers.scala", "Denotations.scala", "Flags.scala", "Hashable.scala",
237+
"NameOps.scala", "Names.scala", "OrderingConstraint.scala", "Periods.scala",
238+
"Phases.scala", "Scopes.scala", "Signature.scala", "StdNames.scala",
239+
"Substituters.scala", "SymDenotations.scala", "SymbolLoaders.scala", "Symbols.scala",
240+
"TypeApplications.scala", "TypeComparer.scala", "TypeErasure.scala", "TypeOps.scala",
241+
"TyperState.scala", "Uniques.scala"
242+
) map (coreDir + _), testPickling)
243+
@Test def tasty_tasty = compileDir(coreDir, "tasty", testPickling)
244+
@Test def tasty_classfile = compileDir(coreDir, "classfile", testPickling)
245+
@Test def tasty_unpickleScala2 = compileDir(coreDir, "unpickleScala2", testPickling)
233246
@Test def tasty_tools_io = compileDir(toolsDir, "io", testPickling)
234247
@Test def tasty_tests = compileDir(testsDir, "tasty", testPickling)
235248
}

0 commit comments

Comments
 (0)