Skip to content

Commit df15eae

Browse files
alexbrainmandr2chase
authored andcommitted
Revert "cmd/compile: make logopt test skip if cannot create scratch directory"
This reverts commit 9853481. 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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent 06314b6 commit df15eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/compile/internal/logopt/logopt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestLogOpt(t *testing.T) {
6262

6363
dir, err := ioutil.TempDir("", "TestLogOpt")
6464
if err != nil {
65-
t.Skipf("Could not create work directory, assuming not allowed on this platform. Error was '%v'", err)
65+
t.Fatal(err)
6666
}
6767
defer os.RemoveAll(dir)
6868

0 commit comments

Comments
 (0)