提交 597de863 编写于 作者: 雨爱无痕

Fix issue

上级 150e89b0
......@@ -20,9 +20,9 @@ func TestCli() (err error) {
var cmd *exec.Cmd
if runtime.GOOS == "windows" {
cmdStr = fmt.Sprintf(`%sztf.exe allure -allureReportDir .\test\cli\allure-results go test %stest\cli -v`, RootPath, RootPath)
cmd = exec.Command("cmd", "/C", cmdStr, "-uuid", "cli_auto_test")
cmd = exec.Command("cmd", "/C", cmdStr)
} else {
cmd = exec.Command("/bin/bash", "-c", cmdStr, "-uuid", "cli_auto_test")
cmd = exec.Command("/bin/bash", "-c", cmdStr)
}
cmd.Dir = RootPath
fmt.Println(cmd.String())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册