aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorvsalvis <salvisbergvera@gmail.com>2015-05-09 18:35:04 +0200
committervsalvis <salvisbergvera@gmail.com>2015-05-12 11:19:34 +0200
commitca3fc43bb3f9eb0068669acf6e64b3c6bd310511 (patch)
treeef7e0a16a5162d9f812b7e907b125944c3f1dd8e /test/dotc/tests.scala
parent2da8afdca1c357d6cada891c70e68e386c44c2f3 (diff)
downloaddotty-ca3fc43bb3f9eb0068669acf6e64b3c6bd310511.tar.gz
dotty-ca3fc43bb3f9eb0068669acf6e64b3c6bd310511.tar.bz2
dotty-ca3fc43bb3f9eb0068669acf6e64b3c6bd310511.zip
Run tests for partest
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 61ebae609..04ea1c3ef 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -35,6 +35,7 @@ class tests extends CompilerTest {
val posDir = testsDir + "pos/"
val posSpecialDir = testsDir + "pos-special/"
val negDir = testsDir + "neg/"
+ val runDir = testsDir + "run/"
val newDir = testsDir + "new/"
val sourceDir = "./src/"
@@ -136,7 +137,12 @@ class tests extends CompilerTest {
@Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8)
@Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 5)
- @Test def dotty = compileDir(toolsDir, "", "-deep" :: allowDeepSubtypes ++ twice) // note the -deep argument
+ @Test def run_hello = runFile(runDir, "hello")
+ @Test def run_lazyVals = runFile(runDir, "lazyVals")
+
+
+ @Test def dotty = compileDir(dottyDir, "tools", "-deep" :: allowDeepSubtypes ++ twice) // note the -deep argument
+
@Test def dotc_ast = compileDir(dotcDir, "ast")
@Test def dotc_config = compileDir(dotcDir, "config")