Skip to content

Commit c4baead

Browse files
committed
scala#3071: make sure output directory exists before running test
1 parent 38df87e commit c4baead

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/test/dotc/tests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class tests extends CompilerTest {
111111
// remove class files from stdlib and tests compilation
112112
Directory(defaultOutputDir + "scala").deleteRecursively()
113113
Directory(defaultOutputDir + "java").deleteRecursively()
114+
Directory(defaultOutputDir).createDirectory()
114115
}
115116

116117
@Test def pickle_pickleOK = compileFiles(testsDir + "pickling/", testPickling)

0 commit comments

Comments
 (0)