automatically tag tests in test/integration/* as integration

This commit is contained in:
Benjamin Elder 2019-06-27 23:15:08 -07:00
parent 9138fa5805
commit 5c6d68caba

View File

@ -80,6 +80,13 @@ if [[ $ret != 0 && $ret != 3 ]]; then
exit 1
fi
# mark all ./test/integration/* targets as integration
# see comment above re: buildozer exit codes
buildozer -quiet 'add tags integration' '//test/integration/...:%go_test' && ret=$? || ret=$?
if [[ $ret != 0 && $ret != 3 ]]; then
exit 1
fi
# we need to set this because gazelle doesn't support pkg-config, which would set this link option
# see comment above re: buildozer exit codes
buildozer -quiet 'set clinkopts select({"@io_bazel_rules_go//go/platform:linux":["-lseccomp",],"//conditions:default":[],})' //vendor/github.com/seccomp/libseccomp-golang:go_default_library && ret=$? || ret=$?