automatically tag tests in test/integration/* as integration
This commit is contained in:
@@ -80,6 +80,13 @@ if [[ $ret != 0 && $ret != 3 ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
# 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
|
# 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=$?
|
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=$?
|
||||||
|
Reference in New Issue
Block a user