diff options
author | Martin Odersky <odersky@gmail.com> | 2015-03-07 15:39:45 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-18 11:15:47 +0100 |
commit | 1cd7d0082c93cead1749bcda51fd3b311fb45444 (patch) | |
tree | 276c01e35978ede97f8dd187a14451ad20089e1f /test | |
parent | ac47d1c41a4a1a865ec3b9f1c9dee08f19018c57 (diff) | |
download | dotty-1cd7d0082c93cead1749bcda51fd3b311fb45444.tar.gz dotty-1cd7d0082c93cead1749bcda51fd3b311fb45444.tar.bz2 dotty-1cd7d0082c93cead1749bcda51fd3b311fb45444.zip |
Add pickling tests
Some pickling tests are now run on every check in.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 1a9d19913..ba9f49455 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -22,6 +22,7 @@ class tests extends CompilerTest { val failedOther = List("-Ystop-before:collectEntryPoints") // some non-obvious reason. need to look deeper val twice = List("#runs", "2", "-YnoDoubleBindings") val staleSymbolError: List[String] = List() + val testPickling = List("-Ytest-pickler", "-Ystop-after:pickler") val allowDeepSubtypes = defaultOptions diff List("-Yno-deep-subtypes") @@ -31,6 +32,9 @@ class tests extends CompilerTest { val newDir = "./tests/new/" val dotcDir = "./src/dotty/" + @Test def pickle_pickleOK = compileDir(posDir + "pickleOK/", testPickling) + @Test def pickle_pickling = compileDir(dotcDir + "tools/dotc/core/pickling", testPickling) + @Test def pos_t2168_pat = compileFile(posDir, "t2168") @Test def pos_erasure = compileFile(posDir, "erasure") @Test def pos_Coder() = compileFile(posDir, "Coder") @@ -172,6 +176,5 @@ class tests extends CompilerTest { val javaDir = "./tests/pos/java-interop/" @Test def java_all = compileFiles(javaDir) - //@Test def dotc_compilercommand = compileFile(dotcDir + "tools/dotc/config/", "CompilerCommand") } |