blob: 6c5a08766c8d208e1ca76f3d1429377ed3222c14 [file] [log] [blame]
def acceptance_tests(
srcs,
deps = [],
source_under_test = [],
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',
] + source_under_test,
labels = [
'acceptance',
'slow',
],
vm_args = vm_args,
)