From df15eaedd0f48d774edf633a5ae31662f9480921 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Sat, 11 Apr 2020 03:33:21 +0000 Subject: [PATCH] Revert "cmd/compile: make logopt test skip if cannot create scratch directory" This reverts commit 98534812bdcdd22b13469ea587e310187876b7d2. Reason for revert: The change does not really fixes issue #38251. CL 227497 is real fix. Change-Id: I9f556005baf1de968f059fb8dad89dae05330aa6 Reviewed-on: https://go-review.googlesource.com/c/go/+/227802 Run-TryBot: Alex Brainman TryBot-Result: Gobot Gobot Reviewed-by: David Chase --- src/cmd/compile/internal/logopt/logopt_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/logopt/logopt_test.go b/src/cmd/compile/internal/logopt/logopt_test.go index fb08393bdb..800ac61903 100644 --- a/src/cmd/compile/internal/logopt/logopt_test.go +++ b/src/cmd/compile/internal/logopt/logopt_test.go @@ -62,7 +62,7 @@ func TestLogOpt(t *testing.T) { dir, err := ioutil.TempDir("", "TestLogOpt") if err != nil { - t.Skipf("Could not create work directory, assuming not allowed on this platform. Error was '%v'", err) + t.Fatal(err) } defer os.RemoveAll(dir)