D | run-tests.go | 40 var logIn = flag.String("login", "/tmp/zephyr.out", "File name of terminal log from Zephyr device") 43 var logOut = flag.String("logout", "tests.log", "Log file to write to") 45 var preBuilt = flag.String("prebuilt", "", "Name of file with prebuilt tests") 57 lines := make(chan string, 30) 121 func runCommands(cmds [][]string, lg io.Writer) error { argument 135 func runCommand(cmd []string, lg io.Writer) error { argument 142 // Expect the given string. 143 func expect(lg io.Writer, lines <-chan string, exp string) error { argument 160 return fmt.Errorf("timeout, didn't receive expected string: %q", exp) 168 func readLog(sink chan<- string) { argument [all …]
|