Underscore fixtures dir to ignore during test run
This commit is contained in:
parent
d08710180d
commit
d36297687a
@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func grabDebugFrameSection(fp string, t *testing.T) []byte {
|
func grabDebugFrameSection(fp string, t *testing.T) []byte {
|
||||||
p, err := filepath.Abs("../fixtures/testprog")
|
p, err := filepath.Abs("../_fixtures/testprog")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ func withTestProcess(name string, t *testing.T, fn testfunc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func StartTestProcess(name string) (*exec.Cmd, error) {
|
func StartTestProcess(name string) (*exec.Cmd, error) {
|
||||||
cmd := exec.Command("../fixtures/" + name)
|
cmd := exec.Command("../_fixtures/" + name)
|
||||||
|
|
||||||
err := cmd.Start()
|
err := cmd.Start()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user