Try fixing analysis test

This commit is contained in:
Fedor Korotkiy 2021-04-30 12:30:53 +03:00
parent 908c002d58
commit a8a7442fda

View file

@ -286,6 +286,7 @@ func runTests(testDir, privateRepo, problem string) error {
cmd.Env = []string{ cmd.Env = []string{
testtool.BinariesEnv + "=" + string(binariesJSON), testtool.BinariesEnv + "=" + string(binariesJSON),
"PATH=" + os.Getenv("PATH"), "PATH=" + os.Getenv("PATH"),
"HOME=" + os.Getenv("HOME"),
} }
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr
@ -309,6 +310,7 @@ func runTests(testDir, privateRepo, problem string) error {
benchCmd.Env = []string{ benchCmd.Env = []string{
testtool.BinariesEnv + "=" + string(binariesJSON), testtool.BinariesEnv + "=" + string(binariesJSON),
"PATH=" + os.Getenv("PATH"), "PATH=" + os.Getenv("PATH"),
"HOME=" + os.Getenv("HOME"),
} }
benchCmd.Stdout = &buf benchCmd.Stdout = &buf
benchCmd.Stderr = os.Stderr benchCmd.Stderr = os.Stderr