@@ -91,6 +91,7 @@ class CompilationTests extends ParallelTesting {
91
91
compileFilesInDir(" ../tests/new" , defaultOptions) +
92
92
compileFilesInDir(" ../tests/pos-scala2" , scala2Mode) +
93
93
compileFilesInDir(" ../tests/pos" , defaultOptions) +
94
+ compileFilesInDir(" ../tests/pos" , defaultOptimised) +
94
95
compileFilesInDir(" ../tests/pos-deep-subtype" , allowDeepSubtypes) +
95
96
compileFile(
96
97
// succeeds despite -Xfatal-warnings because of -nowarn
@@ -159,6 +160,8 @@ class CompilationTests extends ParallelTesting {
159
160
160
161
@ Test def compileNeg : Unit = {
161
162
compileShallowFilesInDir(" ../tests/neg" , defaultOptions) +
163
+ compileShallowFilesInDir(" ../tests/neg/no-optimise" , defaultOptions) +
164
+ compileShallowFilesInDir(" ../tests/neg" , defaultOptimised) +
162
165
compileFile(" ../tests/neg/customArgs/typers.scala" , allowDoubleBindings) +
163
166
compileFile(" ../tests/neg/customArgs/overrideClass.scala" , scala2Mode) +
164
167
compileFile(" ../tests/neg/customArgs/autoTuplingTest.scala" , defaultOptions.and(" -language:noAutoTupling" )) +
@@ -186,6 +189,7 @@ class CompilationTests extends ParallelTesting {
186
189
187
190
@ Test def runAll : Unit = {
188
191
compileFilesInDir(" ../tests/run" , defaultOptions) +
192
+ compileFilesInDir(" ../tests/run" , defaultOptimised) +
189
193
compileFile(" ../tests/run/i3018.scala" , defaultOptimised) +
190
194
compileFile(" ../tests/run/blame_eye_triple_eee-double.scala" , defaultOptimised) +
191
195
compileFile(" ../tests/run/blame_eye_triple_eee-float.scala" , defaultOptimised) +
0 commit comments