Skip to content

Commit 1d99703

Browse files
committed
Move bench tests to bootstrapped only
The macros in the bench tests will compile in bootstrapped compiler.
1 parent 3590721 commit 1d99703

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class BootstrappedOnlyCompilationTests extends ParallelTesting {
3333
@Test def posMacros: Unit = {
3434
implicit val testGroup: TestGroup = TestGroup("compilePosMacros")
3535
aggregateTests(
36+
compileFilesInDir("tests/bench", defaultOptions),
3637
compileFilesInDir("tests/pos-macros", defaultOptions),
3738
compileFilesInDir("tests/pos-custom-args/semanticdb", defaultOptions.and("-Ysemanticdb")),
3839
).checkCompile()

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

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class CompilationTests extends ParallelTesting {
4949
compileFilesInDir("tests/pos-scala2", scala2CompatMode),
5050
compileFilesInDir("tests/pos-custom-args/erased", defaultOptions.and("-Yerased-terms")),
5151
compileFilesInDir("tests/pos", defaultOptions),
52-
compileFilesInDir("tests/bench", defaultOptions),
5352
compileFilesInDir("tests/pos-deep-subtype", allowDeepSubtypes),
5453
compileFile(
5554
// succeeds despite -Xfatal-warnings because of -nowarn

0 commit comments

Comments
 (0)