Skip to content

Commit e326612

Browse files
committed
Move rewrite tests to special directory
1 parent 6143745 commit e326612

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
@@ -871,7 +871,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
871871
def checkCompile()(implicit summaryReport: SummaryReporting): this.type = {
872872
val test = new PosTest(targets, times, threadLimit, shouldFail || shouldSuppressOutput).executeTestSuite()
873873

874-
cleanup()
874+
// cleanup()
875875

876876
if (!shouldFail && test.didFail) {
877877
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)