mirror of https://github.com/apache/lucene.git
wrap jvm parameter with -Dargs so this actually works
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1199837 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2541fba5db
commit
64840db75f
|
@ -1307,7 +1307,7 @@ public abstract class LuceneTestCase extends Assert {
|
|||
if (TEST_NIGHTLY) sb.append(" -Dtests.nightly=true");
|
||||
// TODO we can't randomize this yet (it drives ant crazy) but this makes tests reproduceable
|
||||
// in case machines have different default charsets...
|
||||
sb.append(" -Dfile.encoding=" + System.getProperty("file.encoding"));
|
||||
sb.append(" -Dargs=\"-Dfile.encoding=" + System.getProperty("file.encoding") + "\"");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue