blob: 648bd63f4904e1e19cd0d08477d62f0a24ad6691 [file] [log] [blame]
BOUNCYCASTLE = [
'//lib/bouncycastle:bcpkix',
'//lib/bouncycastle:bcpg',
]
def acceptance_tests(
group,
srcs,
deps = [],
labels = [],
vm_args = ['-Xmx256m']):
from os import path
if path.exists('/dev/urandom'):
vm_args = vm_args + ['-Djava.security.egd=file:/dev/./urandom']
java_test(
name = group,
srcs = srcs,
deps = deps + BOUNCYCASTLE + [
'//gerrit-acceptance-tests:lib'
],
labels = labels + [
'acceptance',
'slow',
],
vm_args = vm_args,
)