mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 02:23:24 +00:00
build: add -race flag to integration tester test_all
This commit is contained in:
@@ -286,6 +286,9 @@ func (r *Run) MakeTestBinary() {
|
||||
binaryName := r.BinaryName()
|
||||
log.Printf("%s: Making test binary %q", r.Path, binaryName)
|
||||
CmdLine := []string{"go", "test", "-c"}
|
||||
if *race {
|
||||
CmdLine = append(CmdLine, "-race")
|
||||
}
|
||||
if *dryRun {
|
||||
log.Printf("Not executing: %v", CmdLine)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user