testFuncs { Package: ptest } for _, file := range ptest.TestGoFiles { t.load(filepath.Join(ptest.Dir, file), “_test”, &t.ImportTest, &t.NeedTest) } for _, file := range ptest.XTestGoFiles { t.load(filepath.Join(ptest.Dir, file), “_xtest”, &t.ImportTest, &t.NeedTest) } }