提交 c8a87fac 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

submit test results with task name

上级 80c93ad4
......@@ -28,10 +28,10 @@ func InitConfig() {
commConsts.WorkDir = fileUtils.GetWorkDir()
commConsts.ZtfDir = fileUtils.GetZTFDir()
if commConsts.Verbose {
log.Println("WorkDir=" + commConsts.WorkDir)
log.Println("ZtfDir=" + commConsts.ZtfDir)
}
//if commConsts.Verbose {
log.Println("WorkDir=" + commConsts.WorkDir)
log.Println("ZtfDir=" + commConsts.ZtfDir)
//}
commConsts.ConfigPath = filepath.Join(commConsts.WorkDir, commConsts.ConfigDir, commConsts.ConfigFile)
if commConsts.IsRelease {
......
......@@ -93,7 +93,9 @@ func IsRelease() bool {
arg1 := strings.ToLower(os.Args[0])
name := filepath.Base(arg1)
return strings.Index(name, "___") != 0 && strings.Index(name, "go-build") != 0
ret := strings.Index(name, "___") != 0 && strings.Index(arg1, "go-build") < 0
return ret
}
func GetUserHome() string {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册