Skip to content

Commit 6001e1f

Browse files
committed
Fix #5565: Revert the {pos,run}-separate-compilation changes
1 parent 72904b5 commit 6001e1f

File tree

289 files changed

+2
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,9 @@ class CompilationTests extends ParallelTesting {
9090
compileFilesInDir("tests/new", defaultOptions) +
9191
compileFilesInDir("tests/pos-scala2", scala2Mode) +
9292
compileFilesInDir("tests/pos", defaultOptions) +
93-
compileFilesInDir("tests/pos-separate-compilation", defaultOptions) +
9493
compileFilesInDir("tests/pos-deep-subtype", allowDeepSubtypes) +
9594
compileFilesInDir("tests/pos-kind-polymorphism", defaultOptions and "-Ykind-polymorphism") +
96-
compileDir("tests/pos-separate-compilation/i1137-1", defaultOptions) +
95+
compileDir("tests/pos/i1137-1", defaultOptions) +
9796
compileFile(
9897
// succeeds despite -Xfatal-warnings because of -nowarn
9998
"tests/neg-custom-args/fatal-warnings/xfatalWarnings.scala",
@@ -173,7 +172,6 @@ class CompilationTests extends ParallelTesting {
173172
implicit val testGroup: TestGroup = TestGroup("runAll")
174173
compileFilesInDir("tests/run-custom-args/Yretain-trees", defaultOptions and "-Yretain-trees") +
175174
compileFile("tests/run-custom-args/tuple-cons.scala", allowDeepSubtypes) +
176-
compileFilesInDir("tests/run-separate-compilation", defaultOptions) +
177175
compileFile("tests/run-custom-args/i5256.scala", allowDeepSubtypes) +
178176
compileFilesInDir("tests/run", defaultOptions)
179177
}.checkRuns()

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
12441244

12451245
val targets =
12461246
files.map(f => JointCompilationSource(testGroup.name, Array(f), flags, createOutputDirsForFile(f, sourceDir, outDir))) ++
1247-
dirs.map(dir => SeparateCompilationSource(testGroup.name, dir, flags, createOutputDirsForDir(dir, sourceDir, outDir)))
1247+
(if (flags.options.contains("-Ytest-pickler")) Nil else dirs.map(dir => SeparateCompilationSource(testGroup.name, dir, flags, createOutputDirsForDir(dir, sourceDir, outDir))))
12481248

12491249
// Create a CompilationTest and let the user decide whether to execute a pos or a neg test
12501250
new CompilationTest(targets)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)