Skip to content

Commit a5c37ba

Browse files
author
Bryan C. Mills
committed
gopls/internal/regtest/marker: skip on small machines
Running the marker tests seems to require significant disk space. Change-Id: Ib1e4b0afc44d4b0afdb9a3666ed9418ce783c30b Reviewed-on: https://go-review.googlesource.com/c/tools/+/489217 Run-TryBot: Bryan Mills <[email protected]> Reviewed-by: Robert Findley <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 76e1037 commit a5c37ba

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gopls/internal/regtest/marker/marker_test.go

+7
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,18 @@
55
package marker
66

77
import (
8+
"os"
89
"testing"
910

1011
. "golang.org/x/tools/gopls/internal/lsp/regtest"
12+
"golang.org/x/tools/internal/testenv"
1113
)
1214

15+
func TestMain(m *testing.M) {
16+
testenv.ExitIfSmallMachine()
17+
os.Exit(m.Run())
18+
}
19+
1320
// Note: we use a separate package for the marker tests so that we can easily
1421
// compare their performance to the existing marker tests in ./internal/lsp.
1522

0 commit comments

Comments
 (0)