diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-11-12 09:52:35 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-11-12 09:52:35 +0300 |
commit | e987cd9e0f844ddfd41dc58ff5a942a82dcb7ba7 (patch) | |
tree | c9186fd4929b7bcef1a0efcf8dd9708c01d0528c /cmd/gitaly-git2go | |
parent | 81df537b2614af051a3ac9883b17b4a254452c29 (diff) |
git2go: Add missing build tags for submodule tests
As code in `cmd/gitaly-git2go` depends on Git2Go, which in turn requires
su to always set up a specific set up build tags, all files in this
module need to conditionally build only if those tags are set. The new
submodule test file is missing those, though.
Add them to fix testruns without those tags to fail.
Diffstat (limited to 'cmd/gitaly-git2go')
-rw-r--r-- | cmd/gitaly-git2go/submodule_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/gitaly-git2go/submodule_test.go b/cmd/gitaly-git2go/submodule_test.go index 33ee1c081..cf9ab14b1 100644 --- a/cmd/gitaly-git2go/submodule_test.go +++ b/cmd/gitaly-git2go/submodule_test.go @@ -1,3 +1,5 @@ +// +build static,system_libgit2 + package main import ( |