diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-31 16:07:57 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-11 09:33:12 +0200 |
commit | 7a927ce233a8ea4b8ddc285b8a36c61ca3fdd405 (patch) | |
tree | cb7ac029bb87a11d0dc2871c3889abb9b4b2aae3 /compiler/test/dotc/tests.scala | |
parent | 130069ad787ca20e960d57e11e6f4911e3bed5a0 (diff) | |
download | dotty-7a927ce233a8ea4b8ddc285b8a36c61ca3fdd405.tar.gz dotty-7a927ce233a8ea4b8ddc285b8a36c61ca3fdd405.tar.bz2 dotty-7a927ce233a8ea4b8ddc285b8a36c61ca3fdd405.zip |
Run compileStdLib only as junit test
It fails without any test output in partest
Diffstat (limited to 'compiler/test/dotc/tests.scala')
-rw-r--r-- | compiler/test/dotc/tests.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala index 1c80767ee..af2c88e1a 100644 --- a/compiler/test/dotc/tests.scala +++ b/compiler/test/dotc/tests.scala @@ -203,7 +203,9 @@ class tests extends CompilerTest { private val stdlibFiles: List[String] = StdLibSources.whitelisted - @Test def compileStdLib = compileList("compileStdLib", stdlibFiles, "-migration" :: "-Yno-inline" :: scala2mode) + @Test def compileStdLib = + if (!generatePartestFiles) + compileList("compileStdLib", stdlibFiles, "-migration" :: "-Yno-inline" :: scala2mode) @Test def compileMixed = compileLine( """../tests/pos/B.scala |../scala-scala/src/library/scala/collection/immutable/Seq.scala |