@@ -98,6 +98,9 @@ class tests extends CompilerTest {
98
98
val typerDir = dotcDir + " typer/"
99
99
val libDir = " ../library/src/"
100
100
101
+ def dottyBootedLib = compileDir(libDir, " ." , List (" -deep" , " -Ycheck-reentrant" , " -strict" ) ::: defaultOptions)(allowDeepSubtypes) // note the -deep argument
102
+ def dottyDependsOnBootedLib = compileDir(dottyDir, " ." , List (" -deep" , " -Ycheck-reentrant" , " -strict" ) ::: defaultOptions)(allowDeepSubtypes) // note the -deep argument
103
+
101
104
@ Before def cleanup (): Unit = {
102
105
// remove class files from stdlib and tests compilation
103
106
Directory (defaultOutputDir + " scala" ).deleteRecursively()
@@ -253,12 +256,6 @@ class tests extends CompilerTest {
253
256
|../scala-scala/src/library/scala/collection/generic/GenSeqFactory.scala""" .stripMargin)
254
257
@ Test def compileIndexedSeq = compileLine(" ../scala-scala/src/library/scala/collection/immutable/IndexedSeq.scala" )
255
258
256
- // Not a junit test anymore since it is order dependent
257
- def dottyBootedLib = compileDir(libDir, " ." )(allowDeepSubtypes) // note the -deep argument
258
-
259
- // Not a junit test anymore since it is order dependent
260
- def dottyDependsOnBootedLib = compileDir(dottyDir, " ." )(allowDeepSubtypes) // note the -deep argument
261
-
262
259
@ Test def dotc_ast = compileDir(dotcDir, " ast" )
263
260
@ Test def dotc_config = compileDir(dotcDir, " config" )
264
261
@ Test def dotc_core = compileDir(dotcDir, " core" )(allowDeepSubtypes)// twice omitted to make tests run faster
0 commit comments