File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ object Properties {
83
83
def scalaLibrary : String = sys.props(" dotty.tests.classes.scalaLibrary" )
84
84
85
85
/** scala-library TASTy jar */
86
- def scalaLibraryTasty : String = sys.props(" dotty.tests.tasties.scalaLibrary" )
86
+ def scalaLibraryTasty : Option [ String ] = sys.props.get (" dotty.tests.tasties.scalaLibrary" )
87
87
88
88
/** scala-asm jar */
89
89
def scalaAsm : String = sys.props(" dotty.tests.classes.scalaAsm" )
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ object TestConfiguration {
25
25
" -Xverify-signatures"
26
26
)
27
27
28
- val basicClasspath = mkClasspath(List (
29
- Properties .scalaLibraryTasty,
28
+ val basicClasspath = mkClasspath(
29
+ Properties .scalaLibraryTasty.toList ::: List (
30
30
Properties .scalaLibrary,
31
31
Properties .dottyLibrary
32
32
))
33
33
34
- val withCompilerClasspath = mkClasspath(List (
35
- Properties .scalaLibraryTasty,
34
+ val withCompilerClasspath = mkClasspath(
35
+ Properties .scalaLibraryTasty.toList ::: List (
36
36
Properties .scalaLibrary,
37
37
Properties .scalaAsm,
38
38
Properties .jlineTerminal,
Original file line number Diff line number Diff line change @@ -641,11 +641,11 @@ object Build {
641
641
" -Ddotty.tests.classes.tastyCore=" + jars(" tasty-core" ),
642
642
" -Ddotty.tests.classes.compilerInterface=" + findArtifactPath(externalDeps, " compiler-interface" ),
643
643
" -Ddotty.tests.classes.scalaLibrary=" + findArtifactPath(externalDeps, " scala-library" ),
644
- " -Ddotty.tests.tasties.scalaLibrary=" + jars(" scala2-library-tasty" ),
645
644
" -Ddotty.tests.classes.scalaAsm=" + findArtifactPath(externalDeps, " scala-asm" ),
646
645
" -Ddotty.tests.classes.jlineTerminal=" + findArtifactPath(externalDeps, " jline-terminal" ),
647
646
" -Ddotty.tests.classes.jlineReader=" + findArtifactPath(externalDeps, " jline-reader" ),
648
- )
647
+ ) ++
648
+ jars.get(" stdlib-bootstrapped-tasty" ).map(" -Ddotty.tests.tasties.scalaLibrary=" + _)
649
649
},
650
650
651
651
javaOptions ++= Seq (
@@ -831,7 +831,6 @@ object Build {
831
831
// library on the compiler classpath since the non-bootstrapped one
832
832
// may not be binary-compatible.
833
833
" scala3-library" -> (`scala3-library-bootstrapped` / Compile / packageBin).value,
834
- " scala2-library-tasty" -> (`scala2-library-tasty` / Compile / packageBin).value,
835
834
).mapValues(_.getAbsolutePath)
836
835
}
837
836
}.value,
You can’t perform that action at this time.
0 commit comments