diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-02-03 20:51:22 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-02-04 23:18:21 +0100 |
commit | f926c8c14a7b48f2c0f3da680c69881ddfb9bf46 (patch) | |
tree | 15101b39ce16171f180f3dccf708b42c173d9115 /test | |
parent | d6a52eec2221101973c6b28f54aa20319f0e8b6f (diff) | |
download | dotty-f926c8c14a7b48f2c0f3da680c69881ddfb9bf46.tar.gz dotty-f926c8c14a7b48f2c0f3da680c69881ddfb9bf46.tar.bz2 dotty-f926c8c14a7b48f2c0f3da680c69881ddfb9bf46.zip |
Remove useless options in tests
- Removed "-Xprint-types", it is only rarely needed and makes it very
hard to read trees, enable it yourself if you need it.
- Removed "-Ylog:<some", this does not seem to have any effect
currently.
- Removed "-pagewidth 90", this is overloaded in tests.scala to 160 anyway.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotty/partest/DPDirectCompiler.scala | 4 | ||||
-rw-r--r-- | test/test/DottyTest.scala | 11 |
2 files changed, 1 insertions, 14 deletions
diff --git a/test/dotty/partest/DPDirectCompiler.scala b/test/dotty/partest/DPDirectCompiler.scala index f08af24a9..a6f11ec64 100644 --- a/test/dotty/partest/DPDirectCompiler.scala +++ b/test/dotty/partest/DPDirectCompiler.scala @@ -15,9 +15,7 @@ class DPDirectCompiler(runner: DPTestRunner) extends nest.DirectCompiler(runner) implicit val ctx: dotty.tools.dotc.core.Contexts.Context = { val base = new dotty.tools.dotc.core.Contexts.ContextBase - import base.settings._ - val ctx = base.initialCtx.fresh.setSetting(printtypes, true) - .setSetting(pageWidth, 90).setSetting(log, List("<some")) + val ctx = base.initialCtx.fresh base.definitions.init(ctx) ctx } diff --git a/test/test/DottyTest.scala b/test/test/DottyTest.scala index fc9cff782..4664605d1 100644 --- a/test/test/DottyTest.scala +++ b/test/test/DottyTest.scala @@ -22,17 +22,6 @@ class DottyTest /*extends ContextEscapeDetection*/ { val base = new ContextBase import base.settings._ val ctx = base.initialCtx.fresh - //.setSetting(verbose, true) - // .withSetting(debug, true) - // .withSetting(debugTrace, true) - // .withSetting(prompt, true) - //.setSetting(Ylogcp, true) - //.setSetting(printtypes, true) - .setSetting(pageWidth, 90) - .setSetting(log, List("<some")) - // .withTyperState(new TyperState(new ConsoleReporter()(base.initialCtx))) - - // .withSetting(uniqid, true) base.definitions.init(ctx) ctx } |