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

Commit a8f91a2

Browse files
author
Kota Mizushima
committed
Fix test failure problem in non-English environment
1 parent 047cb32 commit a8f91a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ class Runner(val testFile: File, val suiteRunner: SuiteRunner) {
108108
"-d",
109109
outDir.getAbsolutePath,
110110
"-classpath",
111-
joinPaths(outDir :: testClassPath)
111+
joinPaths(outDir :: testClassPath),
112+
"-J-Duser.language=en",
113+
"-J-Duser.country=us"
112114
) ++ files.map(_.getAbsolutePath)
113115

114116
pushTranscript(args mkString " ")

0 commit comments

Comments
 (0)