mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-20 04:29:32 -04:00
enable race detector for scenario test
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user