Skip to content

Commit e7c734f

Browse files
committed
Move -Yretain-trees tests to bootstrapped only tests
1 parent 0c8073c commit e7c734f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ class BootstrappedOnlyCompilationTests extends ParallelTesting {
110110

111111
@Test def runMacros: Unit = {
112112
implicit val testGroup: TestGroup = TestGroup("runMacros")
113-
compileFilesInDir("tests/run-macros", defaultOptions)
113+
aggregateTests(
114+
compileFilesInDir("tests/run-macros", defaultOptions),
115+
compileFilesInDir("tests/run-custom-args/Yretain-trees", defaultOptions and "-Yretain-trees"),
116+
)
114117
}.checkRuns()
115118

116119
@Test def runWithCompiler: Unit = {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ class CompilationTests extends ParallelTesting {
196196
@Test def runAll: Unit = {
197197
implicit val testGroup: TestGroup = TestGroup("runAll")
198198
aggregateTests(
199-
compileFilesInDir("tests/run-custom-args/Yretain-trees", defaultOptions and "-Yretain-trees"),
200199
compileFile("tests/run-custom-args/tuple-cons.scala", allowDeepSubtypes),
201200
compileFile("tests/run-custom-args/i5256.scala", allowDeepSubtypes),
202201
compileFile("tests/run-custom-args/fors.scala", defaultOptions and "-strict"),

0 commit comments

Comments
 (0)