File: 02-Disable_benchmarks_gccgo.patch

package info (click to toggle)
golang-goprotobuf 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports, buster-backports-sloppy
  • size: 2,076 kB
  • sloc: sh: 64; makefile: 37
file content (25 lines) | stat: -rw-r--r-- 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description:
 The testing library in gccgo-6 does not provide the Run method, so I am
 disabling this testfile altogether.
--- a/proto/decode_test.go
+++ b/proto/decode_test.go
@@ -31,6 +31,8 @@
 
 // +build go1.7
 
+// +build !gccgo
+
 package proto_test
 
 import (
--- a/proto/encode_test.go
+++ b/proto/encode_test.go
@@ -31,6 +31,8 @@
 
 // +build go1.7
 
+// +build !gccgo
+
 package proto_test
 
 import (