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 /cmd/gitaly-ssh | |
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 'cmd/gitaly-ssh')
-rw-r--r-- | cmd/gitaly-ssh/auth_test.go | 2 | ||||
-rw-r--r-- | cmd/gitaly-ssh/main_test.go | 2 | ||||
-rw-r--r-- | cmd/gitaly-ssh/testhelper_test.go | 2 | ||||
-rw-r--r-- | cmd/gitaly-ssh/upload_pack_test.go | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/cmd/gitaly-ssh/auth_test.go b/cmd/gitaly-ssh/auth_test.go index 3dd9eb1b2..6c460471d 100644 --- a/cmd/gitaly-ssh/auth_test.go +++ b/cmd/gitaly-ssh/auth_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package main import ( diff --git a/cmd/gitaly-ssh/main_test.go b/cmd/gitaly-ssh/main_test.go index 221585361..ca402f3f5 100644 --- a/cmd/gitaly-ssh/main_test.go +++ b/cmd/gitaly-ssh/main_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package main import ( diff --git a/cmd/gitaly-ssh/testhelper_test.go b/cmd/gitaly-ssh/testhelper_test.go index f86d24a5e..6b4c7f0f6 100644 --- a/cmd/gitaly-ssh/testhelper_test.go +++ b/cmd/gitaly-ssh/testhelper_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package main import ( diff --git a/cmd/gitaly-ssh/upload_pack_test.go b/cmd/gitaly-ssh/upload_pack_test.go index fc6a99ce3..a95e0c8a1 100644 --- a/cmd/gitaly-ssh/upload_pack_test.go +++ b/cmd/gitaly-ssh/upload_pack_test.go @@ -1,3 +1,5 @@ +//go:build !gitaly_test_sha256 + package main import ( |