syncthing 2.0.5
This commit is contained in:
25
net-p2p/syncthing/files/syncthing-1.23.2-tests_race.patch
Normal file
25
net-p2p/syncthing/files/syncthing-1.23.2-tests_race.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
--- a/build.go
|
||||
+++ b/build.go
|
||||
@@ -32,8 +32,6 @@
|
||||
"strings"
|
||||
"text/template"
|
||||
"time"
|
||||
-
|
||||
- buildpkg "github.com/syncthing/syncthing/lib/build"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -409,13 +409,6 @@
|
||||
}
|
||||
args = append(args, "-timeout", timeout)
|
||||
|
||||
- if runtime.GOARCH == "amd64" {
|
||||
- switch runtime.GOOS {
|
||||
- case buildpkg.Darwin, buildpkg.Linux, buildpkg.FreeBSD: // , "windows": # See https://github.com/golang/go/issues/27089
|
||||
- args = append(args, "-race")
|
||||
- }
|
||||
- }
|
||||
-
|
||||
if coverage {
|
||||
args = append(args, "-covermode", "atomic", "-coverprofile", "coverage.txt", "-coverpkg", strings.Join(pkgs, ","))
|
||||
}
|
||||
Reference in New Issue
Block a user