You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devops/util/misc/go_test.go

15 lines
196 B

package misc
import (
"os"
"os/exec"
)
func GoTest() error {
cmd := exec.Command("go", "test", "-v")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Stdin = os.Stdin
return cmd.Run()
}