gerrit/lib/nongoogle_test.sh
David Pursehouse 803ea9fecb Remove Powermock again
Powermock was removed by change Iafcc40d2f but was unintentionally
added back when change Ib0dd147bd was merged up from stable-2.16
(where it still exists) to later branches.

Change-Id: I1c17212208d122b7212647e84894bd5b6f69e75f
2020-01-20 10:47:54 +09:00

40 lines
603 B
Bash
Executable File

#!/bin/sh
# This test ensures that new dependencies in nongoogle.bzl go through LC review.
set -eux
bzl=$(pwd)/tools/nongoogle.bzl
TMP=$(mktemp -d || mktemp -d -t /tmp/tmp.XXXXXX)
grep 'name = "[^"]*"' ${bzl} | sed 's|^[^"]*"||g;s|".*$||g' | sort > $TMP/names
cat << EOF > $TMP/want
cglib-3_2
dropwizard-core
duct-tape
eddsa
elasticsearch-rest-client
httpasyncclient
httpcore-nio
j2objc
jackson-core
jna
jruby
mina-core
nekohtml
objenesis
openid-consumer
sshd
sshd-common
sshd-mina
testcontainers
testcontainers-elasticsearch
tukaani-xz
visible-assertions
xerces
EOF
diff -u $TMP/names $TMP/want