Skip to content

Commit c5a175e

Browse files
committed
Add dottyLibrary on test runtime classpath in vulpix
1 parent 2a95f2f commit c5a175e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: compiler/test/dotty/tools/vulpix/RunnerOrchestration.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ trait RunnerOrchestration {
164164
*/
165165
private def createProcess: Process = {
166166
val url = classOf[ChildJVMMain].getProtectionDomain.getCodeSource.getLocation
167-
val cp = Paths.get(url.toURI).toString + JFile.pathSeparator + Properties.scalaLibrary
167+
val cp = Paths.get(url.toURI).toString +
168+
JFile.pathSeparator + Properties.scalaLibrary +
169+
JFile.pathSeparator + Properties.dottyLibrary
168170
val javaBin = Paths.get(sys.props("java.home"), "bin", "java").toString
169171
new ProcessBuilder(javaBin, "-Dfile.encoding=UTF-8", "-Duser.language=en", "-Duser.country=US", "-Xmx1g", "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
170172
.redirectErrorStream(true)

0 commit comments

Comments
 (0)