aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-04-09 12:43:29 +0200
committerMartin Odersky <odersky@gmail.com>2015-04-09 13:15:24 +0200
commita2a12a263467df11fb7ba8a1cc18ec9984530d94 (patch)
treeb22c34ff6d6a4d06486d9271f28d937a63eebcc7 /test/dotc/tests.scala
parentb574ac0727ab704d0cbb037047021e791e0c70d1 (diff)
downloaddotty-a2a12a263467df11fb7ba8a1cc18ec9984530d94.tar.gz
dotty-a2a12a263467df11fb7ba8a1cc18ec9984530d94.tar.bz2
dotty-a2a12a263467df11fb7ba8a1cc18ec9984530d94.zip
Rename -YnoDoubleBindings to -Yno-double-bindings
This aligns with the "-" instead of CamelCase convention for the other command line options. Also, enable -Yno-double-bindings for dotc_core.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index d1b5538dc..bd092a482 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -25,7 +25,7 @@ class tests extends CompilerTest {
val testPickling = List("-Xprint-types", "-Ytest-pickler", "-Ystop-after:pickler")
val failedOther = List("-Ystop-before:collectEntryPoints") // some non-obvious reason. need to look deeper
- val twice = List("#runs", "2", "-YnoDoubleBindings")
+ val twice = List("#runs", "2", "-Yno-double-bindings")
val staleSymbolError: List[String] = List()
val allowDeepSubtypes = defaultOptions diff List("-Yno-deep-subtypes")
@@ -130,8 +130,8 @@ class tests extends CompilerTest {
@Test def dotc = compileDir(dotcDir + "tools/dotc", failedOther)(allowDeepSubtypes ++ twice) // see dotc_core
@Test def dotc_ast = compileDir(dotcDir + "tools/dotc/ast", failedOther ++ twice)
//similar to dotc_core_pickling but for another anon class. Still during firstTransform
- @Test def dotc_config = compileDir(dotcDir + "tools/dotc/config", twice)
- @Test def dotc_core = compileDir(dotcDir + "tools/dotc/core", failedOther)(allowDeepSubtypes) // !!!twice gives "data race?" error in InterceptedMethods
+ @Test def dotc_config = compileDir(dotcDir + "tools/dotc/config")
+ @Test def dotc_core = compileDir(dotcDir + "tools/dotc/core", failedOther)("-Yno-double-bindings" :: allowDeepSubtypes)// twice omitted to make tests run faster
// error: error while loading ConstraintHandling$$anon$1$,
// 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