Browse Source

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
tags/v4.2.0.201601211800-r
Shawn Pearce 8 years ago
parent
commit
da3174a812
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      org.eclipse.jgit.pgm.test/BUCK
  2. 1
    0
      org.eclipse.jgit.test/BUCK

+ 1
- 0
org.eclipse.jgit.pgm.test/BUCK 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(

+ 1
- 0
org.eclipse.jgit.test/BUCK 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(

Loading…
Cancel
Save