diff options
author | Toon Claes <toon@gitlab.com> | 2022-07-08 17:42:48 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-18 12:04:55 +0300 |
commit | 33ff00ca1a07022c0c8e4e753281d47612017a12 (patch) | |
tree | 1beae665ab2ad897987f8d2bacd6821e1a6ff2c7 /internal/git2go | |
parent | 2454a8b94ff90f33ff289b5d2026409f12e8da5c (diff) |
test: Disable all test with tag sha256
We're about to add the ability to test with SHA256 hashes. We assume
none of the tests work with this object format.
With this change we add the build constraint to not run any test when
the tag 'gitaly_test_sha256' is set.
Diffstat (limited to 'internal/git2go')
-rw-r--r-- | internal/git2go/apply_test.go | 2 | ||||
-rw-r--r-- | internal/git2go/commit_test.go | 2 | ||||
-rw-r--r-- | internal/git2go/featureflags_test.go | 2 | ||||
-rw-r--r-- | internal/git2go/serialization_test.go | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/internal/git2go/apply_test.go b/internal/git2go/apply_test.go index fac6cae1e..146a487f8 100644 --- a/internal/git2go/apply_test.go +++ b/internal/git2go/apply_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package git2go import ( diff --git a/internal/git2go/commit_test.go b/internal/git2go/commit_test.go index 5ef7e1fa3..ee4cddb4e 100644 --- a/internal/git2go/commit_test.go +++ b/internal/git2go/commit_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package git2go import ( diff --git a/internal/git2go/featureflags_test.go b/internal/git2go/featureflags_test.go index 61ebd6d31..59026624c 100644 --- a/internal/git2go/featureflags_test.go +++ b/internal/git2go/featureflags_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package git2go import ( diff --git a/internal/git2go/serialization_test.go b/internal/git2go/serialization_test.go index e18a10961..b9a1c3670 100644 --- a/internal/git2go/serialization_test.go +++ b/internal/git2go/serialization_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package git2go import ( |