buck: set vm_args for tests

Maven pom files force the local encoding to UTF-8 to ensure there are
no differences between machines.  They also set the JVM max heap to
256m. Match both in Buck so that results are consistent.

Change-Id: Ice5476dd09352a444a0c97aa0dc28806fddf2ab4
This commit is contained in:
Shawn Pearce 2016-01-01 11:04:11 -08:00
parent 887debc527
commit da3174a812
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ for t in TESTS:
'//lib:tukaani-xz',
],
source_under_test = ['//org.eclipse.jgit.pgm:pgm'],
vm_args = ['-Xmx256m', '-Dfile.encoding=UTF-8'],
)
java_library(

View File

@ -68,6 +68,7 @@ for src in TESTS:
'//lib:slf4j-simple',
] + DEPS.get(src, []),
source_under_test = ['//org.eclipse.jgit:jgit'],
vm_args = ['-Xmx256m', '-Dfile.encoding=UTF-8'],
)
java_library(