diff options
author | vsalvis <salvisbergvera@gmail.com> | 2015-04-15 14:34:53 +0200 |
---|---|---|
committer | vsalvis <salvisbergvera@gmail.com> | 2015-04-17 18:13:44 +0200 |
commit | 8d08915765848d1370542742c8b7482bd1bf86d0 (patch) | |
tree | f8a794ba285e0eff28930cffe21cf7956aa9371b /test/dotc/comptest.scala | |
parent | 85b48de299fcdba17397c59c9bcaa0a69da93350 (diff) | |
download | dotty-8d08915765848d1370542742c8b7482bd1bf86d0.tar.gz dotty-8d08915765848d1370542742c8b7482bd1bf86d0.tar.bz2 dotty-8d08915765848d1370542742c8b7482bd1bf86d0.zip |
Partest for Dotty with pos tests and neg tests with error count
Diffstat (limited to 'test/dotc/comptest.scala')
-rw-r--r-- | test/dotc/comptest.scala | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/dotc/comptest.scala b/test/dotc/comptest.scala index 63c400304..5b6646f39 100644 --- a/test/dotc/comptest.scala +++ b/test/dotc/comptest.scala @@ -4,18 +4,21 @@ import test._ object comptest extends CompilerTest { + override val generatePartestFiles = false + val defaultOutputDir: String = "" + val posDir = "./tests/pos/" val negDir = "./tests/neg/" val dotcDir = "./src/dotty/" def main(args: Array[String]) = - compileArgs(Array( + compileList("comptest", List( dotcDir + "tools/dotc/CompilationUnit.scala", dotcDir + "tools/dotc/core/Types.scala", - dotcDir + "tools/dotc/ast/Trees.scala", + dotcDir + "tools/dotc/ast/Trees.scala"), List( "#runs", "2", "-Ylog:frontend", "-Xprompt"))(Nil) -// compileDir(dotcDir + "tools/dotc/printing", List("-Xprompt", "-Ylog:frontend", "#runs", "2", "-uniqid")) +// compileDir(dotcDir + "tools/dotc/", "printing", List("-Xprompt", "-Ylog:frontend", "#runs", "2", "-uniqid")) } |