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 '_support')
-rw-r--r--_support/makegen.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/_support/makegen.go b/_support/makegen.go
index bb2c92cd8..6845d76d2 100644
--- a/_support/makegen.go
+++ b/_support/makegen.go
@@ -113,12 +113,7 @@ func (gm *gitalyMake) SourceDir() string {
}
func (gm *gitalyMake) TestRepoStoragePath() string {
- path := os.Getenv("TEST_REPO_STORAGE_PATH")
- if len(path) == 0 {
- log.Fatal("TEST_REPO_STORAGE_PATH is not set")
- }
-
- return path
+ return filepath.Join(gm.SourceDir(), "internal/testhelper/testdata/data")
}
func (gm *gitalyMake) TestRepo() string {