From 6fbac96f75ff8375a1e2581ec7e4548de0bf8452 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sat, 1 Feb 2020 04:47:01 +0300 Subject: [PATCH] Better fix for running tests under goland --- tools/testtool/commands/test_submission_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testtool/commands/test_submission_test.go b/tools/testtool/commands/test_submission_test.go index 251f783..83be880 100644 --- a/tools/testtool/commands/test_submission_test.go +++ b/tools/testtool/commands/test_submission_test.go @@ -61,9 +61,9 @@ func Test_testSubmission_incorrect(t *testing.T) { 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.Stdout = os.Stdout + cmd.Stdout = nil cmd.Stderr = os.Stderr err := cmd.Run()