Better fix for running tests under goland
This commit is contained in:
parent
f9280772ae
commit
6fbac96f75
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@ func Test_testSubmission_incorrect(t *testing.T) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd := exec.Command(os.Args[0], "-v=0", "-test.run=Test_testSubmission_incorrect/"+problem)
|
cmd := exec.Command(os.Args[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 = nil
|
||||||
cmd.Stderr = os.Stderr
|
cmd.Stderr = os.Stderr
|
||||||
|
|
||||||
err := cmd.Run()
|
err := cmd.Run()
|
||||||
|
|
Loading…
Reference in a new issue