Fix running tests under goland

This commit is contained in:
Fedor Korotkiy 2020-02-01 04:39:56 +03:00
parent dc2f940fc0
commit f9280772ae

View file

@ -61,7 +61,7 @@ func Test_testSubmission_incorrect(t *testing.T) {
return return
} }
cmd := exec.Command(os.Args[0], "-test.run=Test_testSubmission_incorrect/"+problem) cmd := exec.Command(os.Args[0], "-v=0", "-test.run=Test_testSubmission_incorrect/"+problem)
cmd.Env = append(os.Environ(), "BE_CRASHER=1") cmd.Env = append(os.Environ(), "BE_CRASHER=1")
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr