diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-10-19 15:30:27 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-11-22 01:35:06 +0100 |
commit | 6351c6cc8c3014fd1fbb8244e872c9e28773dad0 (patch) | |
tree | 27c6642fbd02a13f0032934cd3f8dde6992e3f44 /tests | |
parent | 805884cb664467ae97922e1afe44891c64fcfde2 (diff) | |
download | dotty-6351c6cc8c3014fd1fbb8244e872c9e28773dad0.tar.gz dotty-6351c6cc8c3014fd1fbb8244e872c9e28773dad0.tar.bz2 dotty-6351c6cc8c3014fd1fbb8244e872c9e28773dad0.zip |
Create dotty-lib.jar for run tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/run/programmatic-main.check | 27 | ||||
-rw-r--r-- | tests/run/programmatic-main.scala | 16 | ||||
-rw-r--r-- | tests/run/t2512.scala | 13 | ||||
-rw-r--r-- | tests/run/t6194.check | 1 | ||||
-rw-r--r-- | tests/run/t6194.scala | 8 |
5 files changed, 0 insertions, 65 deletions
diff --git a/tests/run/programmatic-main.check b/tests/run/programmatic-main.check deleted file mode 100644 index 1cd94ccb4..000000000 --- a/tests/run/programmatic-main.check +++ /dev/null @@ -1,27 +0,0 @@ - phase name id description - ---------- -- ----------- - parser 1 parse source into ASTs, perform simple desugaring - namer 2 resolve names, attach symbols to named trees -packageobjects 3 load package objects - typer 4 the meat and potatoes: type the trees - patmat 5 translate match expressions -superaccessors 6 add super accessors in traits and nested classes - extmethods 7 add extension methods for inline classes - pickler 8 serialize symbol tables - refchecks 9 reference/override checking, translate nested objects - uncurry 10 uncurry, translate function values to anonymous classes - tailcalls 11 replace tail calls by jumps - specialize 12 @specialized-driven class and method specialization - explicitouter 13 this refs to outer pointers - erasure 14 erase types, add interfaces for traits - posterasure 15 clean up erased inline classes - lazyvals 16 allocate bitmaps, translate lazy vals into lazified defs - lambdalift 17 move nested functions to top level - constructors 18 move field definitions into constructors - flatten 19 eliminate inner classes - mixin 20 mixin composition - cleanup 21 platform-specific cleanups, generate reflective calls - delambdafy 22 remove lambdas - icode 23 generate portable intermediate code - jvm 24 generate JVM bytecode - terminal 25 the last phase during a compilation run diff --git a/tests/run/programmatic-main.scala b/tests/run/programmatic-main.scala deleted file mode 100644 index 542ac2781..000000000 --- a/tests/run/programmatic-main.scala +++ /dev/null @@ -1,16 +0,0 @@ - -import scala.language.postfixOps -import scala.tools.nsc._ -import io.Path - -object Test { - val cwd = Option(System.getProperty("partest.cwd")) getOrElse "." - val basedir = Path(cwd).parent / "lib" path - val baseargs = Array("-usejavacp", "-bootclasspath", basedir + "/scala-library.jar", "-cp", basedir + "/scala-compiler.jar") - - def main(args: Array[String]): Unit = { - Console.withErr(Console.out) { - Main process (baseargs ++ "-Xpluginsdir /does/not/exist/foo/quux -Xshow-phases".split(' ')) - } - } -} diff --git a/tests/run/t2512.scala b/tests/run/t2512.scala deleted file mode 100644 index 8166839a9..000000000 --- a/tests/run/t2512.scala +++ /dev/null @@ -1,13 +0,0 @@ -import scala.tools.nsc.util.HashSet - -object Test { - val runs = 10000 - class Bop - - def main(args: Array[String]): Unit = { - val set: HashSet[Bop] = HashSet("Bop", 16) - (1 to runs).toList foreach (_ => set addEntry new Bop) - - assert(runs == set.size && set.size == set.iterator.length) - } -} diff --git a/tests/run/t6194.check b/tests/run/t6194.check deleted file mode 100644 index b325f479d..000000000 --- a/tests/run/t6194.check +++ /dev/null @@ -1 +0,0 @@ -C:\FooBar\Java\includes\*.jar diff --git a/tests/run/t6194.scala b/tests/run/t6194.scala deleted file mode 100644 index ced325942..000000000 --- a/tests/run/t6194.scala +++ /dev/null @@ -1,8 +0,0 @@ -import scala.tools.nsc.util._ - -object Test { - def main(args: Array[String]): Unit = { - val cp = ClassPath.expandPath("""C:\FooBar\Java\includes\*.jar""") mkString java.io.File.pathSeparator - println(cp) - } -} |