From a8a7442fdaab6ff28a4954db5bfb568f7a1bc19a Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Fri, 30 Apr 2021 12:30:53 +0300 Subject: [PATCH] Try fixing analysis test --- tools/testtool/commands/test_submission.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testtool/commands/test_submission.go b/tools/testtool/commands/test_submission.go index d03d9cc..c531fcf 100644 --- a/tools/testtool/commands/test_submission.go +++ b/tools/testtool/commands/test_submission.go @@ -286,6 +286,7 @@ func runTests(testDir, privateRepo, problem string) error { cmd.Env = []string{ testtool.BinariesEnv + "=" + string(binariesJSON), "PATH=" + os.Getenv("PATH"), + "HOME=" + os.Getenv("HOME"), } cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr @@ -309,6 +310,7 @@ func runTests(testDir, privateRepo, problem string) error { benchCmd.Env = []string{ testtool.BinariesEnv + "=" + string(binariesJSON), "PATH=" + os.Getenv("PATH"), + "HOME=" + os.Getenv("HOME"), } benchCmd.Stdout = &buf benchCmd.Stderr = os.Stderr