aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-04-03 15:40:01 +0200
committerMartin Odersky <odersky@gmail.com>2015-04-07 23:53:58 +0200
commitc369fae2fc7dc1a9388b1681276eb3f2dd01e98f (patch)
tree5c93a3aec6a96fd7378d5b70f3d2a400eda82c1a /test/dotc/tests.scala
parent1a0afa8d5b04cc491bfb72636b2042a506a39f29 (diff)
downloaddotty-c369fae2fc7dc1a9388b1681276eb3f2dd01e98f.tar.gz
dotty-c369fae2fc7dc1a9388b1681276eb3f2dd01e98f.tar.bz2
dotty-c369fae2fc7dc1a9388b1681276eb3f2dd01e98f.zip
Reduced coverage of twice tests
... in order to save some time. On my laptop: Without twice: 175sec With full twice as in last commit: 220sec With reduced twice: 188sec
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index e33ec2a45..b918dcacb 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -77,7 +77,7 @@ class tests extends CompilerTest {
@Test def pos_anonClassSubtyping = compileFile(posDir, "anonClassSubtyping", twice)
@Test def pos_extmethods = compileFile(posDir, "extmethods", twice)
- @Test def pos_all = compileFiles(posDir, twice)
+ @Test def pos_all = compileFiles(posDir) // twice omitted to make tests run faster
@@ -135,7 +135,7 @@ class tests extends CompilerTest {
// class file 'target/scala-2.11/dotty_2.11-0.1-SNAPSHOT.jar(dotty/tools/dotc/core/ConstraintHandling$$anon$1.class)'
// has location not matching its contents: contains class $anon
- @Test def dotc_core_pickling = compileDir(dotcDir + "tools/dotc/core/pickling")(allowDeepSubtypes)
+ @Test def dotc_core_pickling = compileDir(dotcDir + "tools/dotc/core/pickling", failedOther)(allowDeepSubtypes)// twice omitted to make tests run faster
// exception caught when loading class ClassfileParser$$anon$1: dotty.tools.dotc.core.Denotations$NotDefinedHere:
// demanding denotation of module class ClassfileParser$$anon$1$ at phase frontend(1) outside defined interval:
// defined periods are Period(31..36, run = 2) Period(3..24, run = 2) Period(25..26, run = 2)
@@ -143,15 +143,15 @@ class tests extends CompilerTest {
// inside FirstTransform at dotty.tools.dotc.transform.FirstTransform.transform(FirstTransform.scala:33)
// weird.
- @Test def dotc_transform = compileDir(dotcDir + "tools/dotc/transform", twice)
+ @Test def dotc_transform = compileDir(dotcDir + "tools/dotc/transform")// twice omitted to make tests run faster
- @Test def dotc_parsing = compileDir(dotcDir + "tools/dotc/parsing", twice)
+ @Test def dotc_parsing = compileDir(dotcDir + "tools/dotc/parsing")// twice omitted to make tests run faster
- @Test def dotc_printing = compileDir(dotcDir + "tools/dotc/printing", twice)
+ @Test def dotc_printing = compileDir(dotcDir + "tools/dotc/printing") // twice omitted to make tests run faster
- @Test def dotc_reporting = compileDir(dotcDir + "tools/dotc/reporting", twice)
+ @Test def dotc_reporting = compileDir(dotcDir + "tools/dotc/reporting") // twice omitted to make tests run faster
- @Test def dotc_typer = compileDir(dotcDir + "tools/dotc/typer", failedOther ++ twice)
+ @Test def dotc_typer = compileDir(dotcDir + "tools/dotc/typer", failedOther) // twice omitted to make tests run faster
// error: error while loading Checking$$anon$2$,
// class file 'target/scala-2.11/dotty_2.11-0.1-SNAPSHOT.jar(dotty/tools/dotc/typer/Checking$$anon$2.class)'
// has location not matching its contents: contains class $anon