Skip to content

Commit dbccfeb

Browse files
committed
Move rewrite tests to special directory
1 parent 9528655 commit dbccfeb

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ class CompilationTests extends ParallelTesting {
7171
implicit val testGroup: TestGroup = TestGroup("rewrites")
7272

7373
aggregateTests(
74-
compileFile("tests/pos-scala2/rewrites.scala", scala2CompatMode.and("-rewrite")),
75-
compileFile("tests/pos/i8982.scala", defaultOptions.and("-indent").and("-rewrite"))
74+
compileFile("tests/rewrites/rewrites.scala", scala2CompatMode.and("-rewrite")),
75+
compileFile("tests/rewrites/i8982.scala", defaultOptions.and("-indent").and("-rewrite"))
7676
).checkRewrites()
7777
}
7878

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
869869
def checkCompile()(implicit summaryReport: SummaryReporting): this.type = {
870870
val test = new PosTest(targets, times, threadLimit, shouldFail || shouldSuppressOutput).executeTestSuite()
871871

872-
cleanup()
872+
// cleanup()
873873

874874
if (!shouldFail && test.didFail) {
875875
fail(s"Expected no errors when compiling, failed for the following reason(s):\n${ reasonsForFailure(test) }")
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)