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:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2020-01-23 19:49:19 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2020-01-23 19:49:19 +0300
commit78e998126386e9a7c4acba0fd8d3f9b0099a97ce (patch)
treeb66b2ddb697b5d1e711397f7e3ccef82eb82ca98 /_support
parenta74fe57e74782d0bb306ba3d36a41ee25d43d324 (diff)
Remove unused TEST_REPO_STORAGE_PATH env var
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 {