aboutsummaryrefslogblamecommitdiff
path: root/compiler/test/dotc/comptest.scala
blob: 5ae1823e8cfa7af740baa231a49d0f7515715ce5 (plain) (tree)
1
2
3
4
5
6
7
8
9

            
                                    


                                      


                                           


                              

                                 
                                 

                                                   
                                                    

                       
                       
 
                                                                                                                  
 
package dotc

import dotty.tools.dotc.CompilerTest

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]) =
    compileList("comptest", List(
      dotcDir + "tools/dotc/CompilationUnit.scala",
      dotcDir + "tools/dotc/core/Types.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"))
}