mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
enable race detector for scenario test
This commit is contained in:
parent
8070e7d1e2
commit
180c269c79
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user