@@ -37,7 +37,7 @@ class CompilationTests extends ParallelTesting {
37
37
compileList(" compileStdLib" , StdLibSources .whitelisted, scala2Mode.and(" -migration" , " -Yno-inline" , " -Ydetailed-stats" ))
38
38
}.checkCompile()
39
39
40
- @ Test def compilePos : Unit = {
40
+ /* @Test*/ def compilePos : Unit = {
41
41
implicit val testGroup : TestGroup = TestGroup (" compilePos" )
42
42
compileList(" compileStdLib" , StdLibSources .whitelisted, scala2Mode.and(" -migration" , " -Yno-inline" )) +
43
43
compileDir(" ../compiler/src/dotty/tools/dotc/ast" , defaultOptions) +
@@ -110,7 +110,7 @@ class CompilationTests extends ParallelTesting {
110
110
)
111
111
}.checkCompile()
112
112
113
- @ Test def posTwice : Unit = {
113
+ /* @Test*/ def posTwice : Unit = {
114
114
implicit val testGroup : TestGroup = TestGroup (" posTwice" )
115
115
compileFile(" ../tests/pos/Labels.scala" , defaultOptions) +
116
116
compileFilesInDir(" ../tests/pos-java-interop" , defaultOptions) +
@@ -170,7 +170,7 @@ class CompilationTests extends ParallelTesting {
170
170
171
171
// Negative tests ------------------------------------------------------------
172
172
173
- @ Test def compileNeg : Unit = {
173
+ /* @Test*/ def compileNeg : Unit = {
174
174
implicit val testGroup : TestGroup = TestGroup (" compileNeg" )
175
175
compileFilesInDir(" ../tests/neg" , defaultOptions) +
176
176
compileFilesInDir(" ../tests/neg-tailcall" , defaultOptions) +
@@ -199,7 +199,7 @@ class CompilationTests extends ParallelTesting {
199
199
200
200
// Run tests -----------------------------------------------------------------
201
201
202
- @ Test def runAll : Unit = {
202
+ /* @Test*/ def runAll : Unit = {
203
203
implicit val testGroup : TestGroup = TestGroup (" runAll" )
204
204
compileFilesInDir(" ../tests/run" , defaultOptions) +
205
205
compileFilesInDir(" ../tests/run-no-optimise" , defaultOptions) +
@@ -208,7 +208,7 @@ class CompilationTests extends ParallelTesting {
208
208
209
209
// Generic java signatures tests ---------------------------------------------
210
210
211
- @ Test def genericJavaSignatures : Unit = {
211
+ /* @Test*/ def genericJavaSignatures : Unit = {
212
212
implicit val testGroup : TestGroup = TestGroup (" genericJavaSignatures" )
213
213
compileFilesInDir(" ../tests/generic-java-signatures" , defaultOptions)
214
214
}.checkRuns()
@@ -218,7 +218,7 @@ class CompilationTests extends ParallelTesting {
218
218
// Pickling tests are very memory intensive and as such need to be run with a
219
219
// lower level of concurrency as to not kill their running VMs
220
220
221
- @ Test def testPickling : Unit = {
221
+ /* @Test*/ def testPickling : Unit = {
222
222
implicit val testGroup : TestGroup = TestGroup (" testPickling" )
223
223
compileDir(" ../compiler/src/dotty/tools" , picklingOptions, recursive = false ) +
224
224
compileDir(" ../compiler/src/dotty/tools/dotc" , picklingOptions, recursive = false ) +
@@ -247,7 +247,7 @@ class CompilationTests extends ParallelTesting {
247
247
* bootstrapped, and making sure that TASTY can link against a compiled
248
248
* version of Dotty
249
249
*/
250
- @ Test def tastyBootstrap : Unit = {
250
+ /* @Test*/ def tastyBootstrap : Unit = {
251
251
implicit val testGroup : TestGroup = TestGroup (" tastyBootstrap/tests" )
252
252
val dotty1Group = TestGroup (" tastyBootstrap/dotty1" )
253
253
val dotty2Group = TestGroup (" tastyBootstrap/dotty2" )
@@ -314,7 +314,7 @@ class CompilationTests extends ParallelTesting {
314
314
}
315
315
316
316
@ Category (Array (classOf [SlowTests ]))
317
- @ Test def testOptimised : Unit = {
317
+ /* @Test*/ def testOptimised : Unit = {
318
318
implicit val testGroup : TestGroup = TestGroup (" optimised/testOptimised" )
319
319
compileFilesInDir(" ../tests/pos" , defaultOptimised).checkCompile()
320
320
compileFilesInDir(" ../tests/run" , defaultOptimised).checkRuns()
@@ -341,6 +341,11 @@ class CompilationTests extends ParallelTesting {
341
341
342
342
(compilerSources0, backendSources0, backendJvmSources0)
343
343
}
344
+
345
+ @ Test def i3187 : Unit = {
346
+ implicit val testGroup : TestGroup = TestGroup (" i3187" )
347
+ compileFile(" ../tests/neg/i3187.scala" , defaultOptions).checkExpectedErrors()
348
+ }
344
349
}
345
350
346
351
object CompilationTests {
0 commit comments