Debian Codegraph @

debian/patches/0002-Only-run-TestFuzzCrashers-on-amd64.patch

raw
1 From: Shengjing Zhu <[email protected]>
2 Date: Tue, 21 Jul 2020 23:07:50 +0800
3 Subject: Only run TestFuzzCrashers on amd64
4
5 ---
6 bam/bam_test.go | 4 ++++
7 1 file changed, 4 insertions(+)
8
9 --- a/bam/bam_test.go
10 +++ b/bam/bam_test.go
11 @@ -12,6 +12,7 @@
12 "io"
13 "os"
14 "reflect"
15 + "runtime"
16 "testing"
17 "time"
18
19 @@ -2480,6 +2481,9 @@
20 }
21
22 func TestFuzzCrashers(t *testing.T) {
23 + if runtime.GOARCH != "amd64" {
24 + t.Skip("run out of memory")
25 + }
26 for i, test := range fuzzCrashers {
27 func() {
28 i := i