mirror of https://github.com/v2ray/v2ray-core
enable race detector for scenario test
parent
8070e7d1e2
commit
180c269c79
|
@ -16,7 +16,7 @@ func BuildV2Ray() error {
|
|||
}
|
||||
|
||||
fmt.Printf("Building V2Ray into path (%s)\n", testBinaryPath)
|
||||
cmd := exec.Command("go", "build", "-o="+testBinaryPath, GetSourcePath())
|
||||
cmd := exec.Command("go", "build", "-race", "-o="+testBinaryPath, GetSourcePath())
|
||||
return cmd.Run()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue