From 61dd887b124c9ba07ec1bd5e2a2e1ef7d3b1dc42 Mon Sep 17 00:00:00 2001 From: VladimirNik Date: Fri, 4 Dec 2015 23:04:22 +0100 Subject: Add tests for dotc.typer pickling/unpickling --- test/dotc/tests.scala | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 0ac043daf..87a5f1417 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -51,6 +51,7 @@ class tests extends CompilerTest { val toolsDir = dottyDir + "tools/" val dotcDir = toolsDir + "dotc/" val coreDir = dotcDir + "core/" + val typerDir = dotcDir + "typer/" @Test def pickle_pickleOK = compileDir(testsDir, "pickling", testPickling) // This directory doesn't exist anymore @@ -240,6 +241,12 @@ class tests extends CompilerTest { "TypeApplications.scala", "TypeComparer.scala", "TypeErasure.scala", "TypeOps.scala", "TyperState.scala", "Uniques.scala" ) map (coreDir + _), testPickling) + @Test def tasty_typer = compileList("tasty_typer", List( + "Applications.scala", "Checking.scala", "ConstFold.scala", "ErrorReporting.scala", + "EtaExpansion.scala", "FrontEnd.scala", "Implicits.scala", "ImportInfo.scala", + "Inferencing.scala", "Mode.scala", "ProtoTypes.scala", "ReTyper.scala", "RefChecks.scala", + "TypeAssigner.scala", "Typer.scala", "VarianceChecker.scala", "Variances.scala" + ) map (typerDir + _), testPickling) @Test def tasty_tasty = compileDir(coreDir, "tasty", testPickling) @Test def tasty_classfile = compileDir(coreDir, "classfile", testPickling) @Test def tasty_unpickleScala2 = compileDir(coreDir, "unpickleScala2", testPickling) -- cgit v1.2.3