@@ -239,12 +239,10 @@ class CompilationTests extends ParallelTesting {
239239 defaultOptions.and(" -Ycheck-reentrant" , " -strict" , " -priorityclasspath" , defaultOutputDir))(libGroup)
240240
241241 val compilerSources = sources(Paths .get(" compiler/src" ))
242+ val compilerManagedSources = sources(Properties .dottyCompilerManagedSources)
242243
243- val scalaJSIRDir = Paths .get(" compiler/target/scala-2.12/src_managed/main/scalajs-ir-src/org/scalajs/ir" )
244- val scalaJSIRSources = sources(scalaJSIRDir, shallow = true )
245-
246- val dotty1 = compileList(" dotty" , compilerSources ++ scalaJSIRSources, opt)(dotty1Group)
247- val dotty2 = compileList(" dotty" , compilerSources ++ scalaJSIRSources, opt)(dotty2Group)
244+ val dotty1 = compileList(" dotty" , compilerSources ++ compilerManagedSources, opt)(dotty1Group)
245+ val dotty2 = compileList(" dotty" , compilerSources ++ compilerManagedSources, opt)(dotty2Group)
248246
249247 val tests = {
250248 lib.keepOutput :: dotty1.keepOutput :: {
@@ -262,7 +260,7 @@ class CompilationTests extends ParallelTesting {
262260 compileShallowFilesInDir(" compiler/src/dotty/tools/dotc/util" , opt) +
263261 compileShallowFilesInDir(" compiler/src/dotty/tools/backend" , opt) +
264262 compileShallowFilesInDir(" compiler/src/dotty/tools/backend/jvm" , opt) +
265- compileList(" shallow-scalajs-ir " , scalaJSIRSources , opt)
263+ compileList(" managed-sources " , compilerManagedSources , opt)
266264 }.keepOutput :: Nil
267265 }.map(_.checkCompile())
268266
0 commit comments