Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 141332a

Browse files
committed
Make nest.Runner#runCommand public
This makes it easier to override `def javac` in dotty
1 parent 53a5130 commit 141332a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scala/tools/partest/nest/Runner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class Runner(val testFile: File, val suiteRunner: SuiteRunner) {
191191
/** Runs command redirecting standard out and
192192
* error out to output file.
193193
*/
194-
private def runCommand(args: Seq[String], outFile: File): Boolean = {
194+
def runCommand(args: Seq[String], outFile: File): Boolean = {
195195
//(Process(args) #> outFile !) == 0 or (Process(args) ! pl) == 0
196196
val pl = ProcessLogger(outFile)
197197
val nonzero = 17 // rounding down from 17.3

0 commit comments

Comments
 (0)