Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gitaly-git2go/command/main_test.go')
-rw-r--r--cmd/gitaly-git2go/command/main_test.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/gitaly-git2go/command/main_test.go b/cmd/gitaly-git2go/command/main_test.go
new file mode 100644
index 000000000..9b366a67e
--- /dev/null
+++ b/cmd/gitaly-git2go/command/main_test.go
@@ -0,0 +1,17 @@
+// +build static,system_libgit2
+
+package command
+
+import (
+ "os"
+ "testing"
+
+ "gitlab.com/gitlab-org/gitaly/internal/testhelper"
+)
+
+func TestMain(m *testing.M) {
+ defer testhelper.MustHaveNoChildProcess()
+ testhelper.Configure()
+ testhelper.ConfigureGitalyGit2Go()
+ os.Exit(m.Run())
+}