Skip to content

Commit 788908f

Browse files
authored
Merge pull request #4957 from dotty-staging/fix-#3613
Fix #3613: Delete output dir before testing tastyBootstrap
2 parents d00bdb3 + 624cc77 commit 788908f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@ class CompilationTests extends ParallelTesting {
196196
val dotty2Group = TestGroup("tastyBootstrap/dotty2")
197197
val libGroup = TestGroup("tastyBootstrap/lib")
198198

199+
// Make sure that the directory is clean
200+
dotty.tools.io.Directory(defaultOutputDir + "tastyBootstrap").deleteRecursively()
201+
199202
val opt = TestFlags(
200203
// compile with bootstrapped library on cp:
201204
defaultOutputDir + libGroup + "/src/:" +

0 commit comments

Comments
 (0)