From 115e13b323e9ca845302a2c0ee0367e03cb8379b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 21 Dec 2013 19:36:28 +0100 Subject: Starting to test compiling the compiler. --- test/dotc/tests.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/dotc') 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 -- cgit v1.2.3