From 3731b0de7e7e9dfc6a030a2e5efb1e92d841bfc9 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 20 May 2020 07:41:51 +0200 Subject: [PATCH] Run macro tests with bootstrapped compiler --- .../dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala | 5 ++++- compiler/test/dotty/tools/dotc/CompilationTests.scala | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala b/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala index 6f8d4c162b88..7ab71230dc59 100644 --- a/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala +++ b/compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala @@ -32,7 +32,10 @@ class BootstrappedOnlyCompilationTests extends ParallelTesting { @Test def posMacros: Unit = { implicit val testGroup: TestGroup = TestGroup("compilePosMacros") - compileFilesInDir("tests/pos-macros", defaultOptions).checkCompile() + aggregateTests( + compileFilesInDir("tests/pos-macros", defaultOptions), + compileFilesInDir("tests/pos-custom-args/semanticdb", defaultOptions.and("-Ysemanticdb")), + ).checkCompile() } @Test def posWithCompiler: Unit = { diff --git a/compiler/test/dotty/tools/dotc/CompilationTests.scala b/compiler/test/dotty/tools/dotc/CompilationTests.scala index 825f2a3d3698..c88bfcf9a06d 100644 --- a/compiler/test/dotty/tools/dotc/CompilationTests.scala +++ b/compiler/test/dotty/tools/dotc/CompilationTests.scala @@ -49,7 +49,6 @@ class CompilationTests extends ParallelTesting { compileFilesInDir("tests/new", defaultOptions), compileFilesInDir("tests/pos-scala2", scala2CompatMode), compileFilesInDir("tests/pos-custom-args/erased", defaultOptions.and("-Yerased-terms")), - compileFilesInDir("tests/pos-custom-args/semanticdb", defaultOptions.and("-Ysemanticdb")), compileFilesInDir("tests/pos", defaultOptions), compileFilesInDir("tests/pos-deep-subtype", allowDeepSubtypes), compileFile(