Skip to content

Commit c45947b

Browse files
smarterfelixmulder
authored andcommitted
Fix partest compilation of java-interop tests by moving them
Previously, the tests where all in tests/pos/java-interop which means that partest would try to run them as one single test, this failed because some of these tests define classes with the same name. We could fix this by putting them all in separate packages but for now it's simple to move them to tests/pos-java-interop (they will still be run individually as they should thanks to the `java_all` test defined in tests.scala)
1 parent 79a0497 commit c45947b

Some content is hidden

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

76 files changed

+1
-1
lines changed

test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class tests extends CompilerTest {
249249
dotcDir + "config/PathResolver.scala"
250250
), List(/* "-Ylog:frontend", */ "-Xprompt") ++ staleSymbolError ++ twice)
251251

252-
val javaDir = "./tests/pos/java-interop/"
252+
val javaDir = "./tests/pos-java-interop/"
253253
@Test def java_all = compileFiles(javaDir, twice)
254254
//@Test def dotc_compilercommand = compileFile(dotcDir + "config/", "CompilerCommand")
255255

File renamed without changes.

0 commit comments

Comments
 (0)