From 35b8e86ea66feaf9dd02c38cde0634148bbda99f Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 15 Jan 2018 14:35:50 +0100 Subject: [PATCH 1/2] Add documentation --- compiler/test/dotty/tools/dotc/FromTastyTests.scala | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index 4f8d83d75597..bc13bfeecf67 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -21,6 +21,10 @@ class FromTastyTests extends ParallelTesting { @Test def posTestFromTasty: Unit = { + // Can be reproduced with + // > sbt + // > dotc -Ythrough-tasty + implicit val testGroup: TestGroup = TestGroup("posTestFromTasty") val (step1, step2) = compileTastyInDir("../tests/pos", defaultOptions, blacklist = Set( @@ -54,6 +58,11 @@ class FromTastyTests extends ParallelTesting { } @Test def runTestFromTasty: Unit = { + // Can be reproduced with + // > sbt + // > dotc -Ythrough-tasty + // > dotr Test + implicit val testGroup: TestGroup = TestGroup("runTestFromTasty") val (step1, step2) = compileTastyInDir("../tests/run", defaultOptions, blacklist = Set( From 5c14ef5434cdc858444188ebb39c633b1b459eb7 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Mon, 15 Jan 2018 14:39:33 +0100 Subject: [PATCH 2/2] Add missing doc --- compiler/test/dotty/tools/dotc/FromTastyTests.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/test/dotty/tools/dotc/FromTastyTests.scala b/compiler/test/dotty/tools/dotc/FromTastyTests.scala index bc13bfeecf67..5dc43112ed1c 100644 --- a/compiler/test/dotty/tools/dotc/FromTastyTests.scala +++ b/compiler/test/dotty/tools/dotc/FromTastyTests.scala @@ -23,7 +23,7 @@ class FromTastyTests extends ParallelTesting { @Test def posTestFromTasty: Unit = { // Can be reproduced with // > sbt - // > dotc -Ythrough-tasty + // > dotc -Ythrough-tasty -Ycheck:all implicit val testGroup: TestGroup = TestGroup("posTestFromTasty") val (step1, step2) = compileTastyInDir("../tests/pos", defaultOptions, @@ -60,7 +60,7 @@ class FromTastyTests extends ParallelTesting { @Test def runTestFromTasty: Unit = { // Can be reproduced with // > sbt - // > dotc -Ythrough-tasty + // > dotc -Ythrough-tasty -Ycheck:all // > dotr Test implicit val testGroup: TestGroup = TestGroup("runTestFromTasty")