@@ -2,7 +2,7 @@ package dotty
2
2
package tools
3
3
package dotc
4
4
5
- import org .junit .{ Test , BeforeClass , AfterClass }
5
+ import org .junit .{ Test , BeforeClass , AfterClass , Ignore }
6
6
7
7
import java .nio .file ._
8
8
import java .util .stream .{ Stream => JStream }
@@ -27,13 +27,14 @@ class CompilationTests extends ParallelTesting {
27
27
28
28
// Positive tests ------------------------------------------------------------
29
29
30
- @ Test def compilePos : Unit = {
31
- compileList(" compileStdLib" , StdLibSources .whitelisted, scala2Mode.and(" -migration" , " -Yno-inline" )) +
32
- compileFilesInDir(" ../tests/pos" , defaultOptions)
33
- }.checkCompile()
30
+ @ Ignore (" Redundant test (tested twice in bytecodeIdemporency with defaultOptions + \" -YemitTasty\" )" )
31
+ @ Test def compilePos : Unit =
32
+ compileFilesInDir(" ../tests/pos" , defaultOptions).checkCompile()
34
33
35
- @ Test def compilePosScala2 : Unit =
34
+ @ Test def compilePosScala2 : Unit = {
35
+ compileList(" compileStdLib" , StdLibSources .whitelisted, scala2Mode.and(" -migration" , " -Yno-inline" )) +
36
36
compileFilesInDir(" ../tests/pos-scala2" , scala2Mode).checkCompile()
37
+ }.checkCompile()
37
38
38
39
@ Test def compilePosMixedFlags : Unit = {
39
40
compileFile(" ../tests/pos/nullarify.scala" , defaultOptions.and(" -Ycheck:nullarify" )) +
0 commit comments