Skip to content

Commit 29b51e8

Browse files
committed
Run compileStdLib only as junit test
It fails without any test output in partest
1 parent 7b0ee10 commit 29b51e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/test/dotc/tests.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ class tests extends CompilerTest {
203203

204204
private val stdlibFiles: List[String] = StdLibSources.whitelisted
205205

206-
@Test def compileStdLib = compileList("compileStdLib", stdlibFiles, "-migration" :: "-Yno-inline" :: scala2mode)
206+
@Test def compileStdLib =
207+
if (!generatePartestFiles)
208+
compileList("compileStdLib", stdlibFiles, "-migration" :: "-Yno-inline" :: scala2mode)
207209
@Test def compileMixed = compileLine(
208210
"""../tests/pos/B.scala
209211
|../scala-scala/src/library/scala/collection/immutable/Seq.scala

0 commit comments

Comments
 (0)