// registerFlags defines flags and associates them with the package-level
// exported variables above. It should be called by tests in their init
// functions.
registerFlags defines flags and associates them with the package-level
exported variables above. It should be called by tests in their init
functions.
// registerFlags defines flags and associates them with the package - level // exported variables above . It should be called by tests in their init // functions .
func registerFlags(fs *flag.FlagSet) {
	fs.BoolVar(&Native, "native", Native, "whether the test is running natively")
	fs.DurationVar(&RPCTimeout, "rpc_timeout", RPCTimeout, "gRPC timeout")
	fs.DurationVar(&RPCKeepalive, "rpc_keepalive", RPCKeepalive, "gRPC keepalive")
	fs.StringVar(&dutInfosJSON, "dut_infos_json", dutInfosJSON, "json that describes the DUTs")
}
func registerFlags ( fs * flag . FlagSet ) { fs . BoolVar ( & Native , " " , Native , " " ) fs . DurationVar ( & RPCTimeout , " " , RPCTimeout , " " ) fs . DurationVar ( & RPCKeepalive , " " , RPCKeepalive , " " ) fs . StringVar ( & dutInfosJSON , " " , dutInfosJSON , " " ) }
registerFlags defines flags and associates them with the package-level
exported variables above.
registerFlags defines flags and associates them with the package - level exported variables above .