diff options
author | Toon Claes <toon@gitlab.com> | 2022-07-08 18:08:52 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2022-07-13 22:34:49 +0300 |
commit | fe9a8cc72b39581277232f015b3eeda910e86955 (patch) | |
tree | 677e02b7b7db395c67b6ec8686dec5695d789432 | |
parent | ef19bf84f7be14316eba076112fb14a504142e3c (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 |