Home | History | Annotate | Download | only in dist

Lines Matching refs:Dir

506 func (t *tester) dirCmd(dir string, bin string, args ...string) *exec.Cmd {
508 if filepath.IsAbs(dir) {
509 cmd.Dir = dir
511 cmd.Dir = filepath.Join(t.goroot, dir)
741 dir := filepath.Join(t.goroot, testpath)
771 if err := t.dirCmd(dir, cc, args...).Run(); err != nil {
774 defer os.Remove(filepath.Join(dir, sofname))
776 if err := t.dirCmd(dir, "go", "build", "-o", "main.exe", "main.go").Run(); err != nil {
779 defer os.Remove(filepath.Join(dir, "main.exe"))
781 cmd := t.dirCmd(dir, "./main.exe")
842 absExe := filepath.Join(cmd.Dir, runExe)