binary=flag.String("binary","","filesystem path to the test binary file. Example: \"$HOME/gosrc/bin/e2e.test\"")
pkgPath=flag.String("package","","import path of the test package in the format used while importing packages. Example: \"k8s.io/kubernetes/test/e2e\"")
)
funcusage(){
fmt.Fprintln(os.Stderr,usageHelp)
fmt.Fprintln(os.Stderr,"Flags:")
flag.PrintDefaults()
os.Exit(2)
}
// golist is an interface emulating the `go list` command to get package information.
// TODO: Evaluate using `go/build` package instead. It doesn't provide staleness
// information, but we can probably run `go list` and `go/build.Import()` concurrently
// in goroutines and merge the results. Evaluate if that's faster.