diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-08 18:00:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-08 18:00:27 +0000 |
commit | 78ebdce6a16942c7081565472862ab6730321ee3 (patch) | |
tree | 91e2d66a20ff982c4ccfdb6e95573a0d4ad2b3df /net-p2p/syncthing/files | |
parent | 0d96a0e47c83a107ad92e2bc90e5389f577cc9a4 (diff) |
gentoo auto-resync : 08:03:2023 - 18:00:26
Diffstat (limited to 'net-p2p/syncthing/files')
-rw-r--r-- | net-p2p/syncthing/files/syncthing-1.23.2-tests_race.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-p2p/syncthing/files/syncthing-1.23.2-tests_race.patch b/net-p2p/syncthing/files/syncthing-1.23.2-tests_race.patch new file mode 100644 index 000000000000..8d9e6819d101 --- /dev/null +++ b/net-p2p/syncthing/files/syncthing-1.23.2-tests_race.patch @@ -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, ",")) + } |