File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ object DottyBuild extends Build {
81
81
val args = Def .spaceDelimited(" <arg>" ).parsed
82
82
val jars = Seq ((packageBin in Compile ).value.getAbsolutePath) ++
83
83
getJarPaths(partestDeps.value, ivyPaths.value.ivyHome)
84
- val dottyJars = " -dottyJars " + jars.length + " " + jars.mkString(" " )
84
+ val dottyJars = " -dottyJars " + ( jars.length + 1 ) + " dotty.jar " + " " + jars.mkString(" " )
85
85
// Provide the jars required on the classpath of run tests
86
86
runTask(Test , " dotty.partest.DPConsoleRunner" , dottyJars + " " + args.mkString(" " ))
87
87
},
@@ -118,8 +118,8 @@ object DottyBuild extends Build {
118
118
119
119
(" -DpartestParentID=" + pid) :: tuning ::: agentOptions ::: travis_build ::: fullpath
120
120
}
121
- ) ++ addCommandAlias(" partest" , " ;test:package;package;lockPartestFile;test:test;runPartestRunner" ) ++
122
- addCommandAlias(" partest-only" , " ;test:package;package;lockPartestFile;test:test-only dotc.tests;runPartestRunner" )
121
+ ) ++ addCommandAlias(" partest" , " ;test:package;package;test:runMain dotc.build; lockPartestFile;test:test;runPartestRunner" ) ++
122
+ addCommandAlias(" partest-only" , " ;test:package;package;test:runMain dotc.build; lockPartestFile;test:test-only dotc.tests;runPartestRunner" )
123
123
124
124
lazy val dotty = Project (id = " dotty" , base = file(" ." ), settings = defaults)
125
125
You can’t perform that action at this time.
0 commit comments