aboutsummaryrefslogtreecommitdiff
path: root/test/dotc
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-21 19:36:28 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-21 19:36:28 +0100
commit115e13b323e9ca845302a2c0ee0367e03cb8379b (patch)
tree65641e22bd8e9fe790f1ec85eea078c9dae8a99f /test/dotc
parentbdb19a8ef9cf7caf108d9326108dc51a6b76cc15 (diff)
downloaddotty-115e13b323e9ca845302a2c0ee0367e03cb8379b.tar.gz
dotty-115e13b323e9ca845302a2c0ee0367e03cb8379b.tar.bz2
dotty-115e13b323e9ca845302a2c0ee0367e03cb8379b.zip
Starting to test compiling the compiler.
Diffstat (limited to 'test/dotc')
-rw-r--r--test/dotc/tests.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 72167c53e..5bb86f79f 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -10,7 +10,7 @@ class tests extends CompilerTest {
val posDir = "/Users/odersky/workspace/dotty/tests/pos/"
val negDir = "/Users/odersky/workspace/dotty/tests/neg/"
-
+ val dotcDir = "/Users/odersky/workspace/dotty/src/dotty/"
@Test def pos_Coder() = compileFile(posDir, "Coder")
@Test def pos_blockescapes() = compileFile(posDir, "blockescapes")
@@ -37,4 +37,6 @@ class tests extends CompilerTest {
@Test def neg_typedidents() = compileFile(negDir, "typedidents", xerrors = 2)
@Test def neg_assignments() = compileFile(negDir, "assignments", xerrors = 3)
@Test def neg_typers() = compileFile(negDir, "typers", xerrors = 10)
+
+ @Test def dotc = compileDir(dotcDir + "tools/dotc")
} \ No newline at end of file