diff options
author | Toon Claes <toon@gitlab.com> | 2022-07-08 18:08:52 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-18 12:04:55 +0300 |
commit | ac5e7f6f04a5e83594acdc4b19e625aff2d44ed1 (patch) | |
tree | 224fec158e651c4b135020b7b8b31c3fb1c288d5 | |
parent | 33ff00ca1a07022c0c8e4e753281d47612017a12 (diff) |
Makefile: Set proper tags for testing with sha256
When the GITALY_TESTING_ENABLE_SHA256 environment variable is set, the
gitaly_test_sha256 build tag is added. This makes it possible to exclude
tests which are not adapted to using SHA256 hashes.
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -91,6 +91,11 @@ ifdef FIPS_MODE export GITALY_TESTING_ENABLE_FIPS := YesPlease endif +ifdef GITALY_TESTING_ENABLE_SHA256 + SERVER_BUILD_TAGS := ${SERVER_BUILD_TAGS},gitaly_test_sha256 + GIT2GO_BUILD_TAGS := ${GIT2GO_BUILD_TAGS},gitaly_test_sha256 +endif + # Dependency versions GOLANGCI_LINT_VERSION ?= v1.46.2 PROTOLINT_VERSION ?= v0.38.1 |