1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00

enable race detector for scenario test

This commit is contained in:
Darien Raymond 2018-07-28 20:01:23 +02:00
parent 8070e7d1e2
commit 180c269c79
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -16,7 +16,7 @@ func BuildV2Ray() error {
} }
fmt.Printf("Building V2Ray into path (%s)\n", testBinaryPath) 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() return cmd.Run()
} }