TestMain doesn't make use of any flags.
Change-Id: I98ec582fb004045a5067618f605ccfeb1f9f4bbb
Reviewed-on: https://go-review.googlesource.com/33613
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
"debug/elf"
"encoding/binary"
"errors"
- "flag"
"fmt"
"go/build"
"io"
// That won't work if GOBIN is set.
os.Unsetenv("GOBIN")
- flag.Parse()
exitCode, err := testMain(m)
if err != nil {
log.Fatal(err)