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, | |
) |