From ed7a92bab459806c958459264f8c88495ea6c4ba Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Mon, 13 May 2019 11:59:27 -0700 Subject: [PATCH] cmd/objdump: mark tests as parallel Speeds up go test -short -count=1 cmd/objdump on my machine from 1.7s to 1.3s. Not much, but as the backpacking saying goes, take care of the ounces and the pounds will take care of themselves. Updates #26473 Change-Id: I59fe9a179e48537c7d82cbba72cde9f92b42a029 Reviewed-on: https://go-review.googlesource.com/c/go/+/176901 Run-TryBot: Josh Bleecher Snyder Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/cmd/objdump/objdump_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/objdump/objdump_test.go b/src/cmd/objdump/objdump_test.go index 0ac1d16fe3..8d73c016c6 100644 --- a/src/cmd/objdump/objdump_test.go +++ b/src/cmd/objdump/objdump_test.go @@ -87,6 +87,7 @@ var target = flag.String("target", "", "test disassembly of `goos/goarch` binary // can handle that one. func testDisasm(t *testing.T, printCode bool, flags ...string) { + t.Parallel() goarch := runtime.GOARCH if *target != "" { f := strings.Split(*target, "/") -- 2.50.0