063e0fd4fd
This is a simpler approach as it doesn't require generating extra test targets for Buck, nor rebuilding test jars to get everything working in Eclipse. There are enough tests running at any given time with Buck that having each acceptance test take twice as long should maintain adequate parallelism. Change-Id: I109acaf6b957e8f9dd621e98abe46a75f78cdc32
21 lines
441 B
Plaintext
21 lines
441 B
Plaintext
def acceptance_tests(
|
|
srcs,
|
|
deps = [],
|
|
vm_args = ['-Xmx256m']):
|
|
for j in srcs:
|
|
java_test(
|
|
name = j[:-len('.java')],
|
|
srcs = [j],
|
|
deps = ['//gerrit-acceptance-tests:lib'] + deps,
|
|
source_under_test = [
|
|
'//gerrit-httpd:httpd',
|
|
'//gerrit-sshd:sshd',
|
|
'//gerrit-server:server',
|
|
],
|
|
labels = [
|
|
'acceptance',
|
|
'slow',
|
|
],
|
|
vm_args = vm_args,
|
|
)
|