1# go test ./... with a bad package should report the error once (#44624). 2! go test ./... 3stderr -count=1 undefined 4 5-- go.mod -- 6module example.com 7 8go 1.18 9-- a/a.go -- 10package a 11 12import "example.com/b" 13-- b/b.go -- 14package b 15 16var X = Y 17-- b/b_test.go -- 18package b