From 78e998126386e9a7c4acba0fd8d3f9b0099a97ce Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 23 Jan 2020 17:49:19 +0100 Subject: Remove unused TEST_REPO_STORAGE_PATH env var --- _support/makegen.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '_support') 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 { -- cgit v1.2.3