Debian Codegraph @

debian/patches/0001-Skip-tests-fail-currently.patch

raw
1 From: Roger Shimizu <[email protected]>
2 Date: Wed, 8 Feb 2023 18:17:49 +0800
3 Subject: Skip tests fail currently
4
5 Reported upstream:
6 - https://github.com/mmcloughlin/avo/issues/152
7 - https://github.com/mmcloughlin/avo/issues/153
8 - https://github.com/mmcloughlin/avo/issues/154
9 ---
10 internal/gen/asmtest.go | 2 +-
11 internal/inst/table_test.go | 2 ++
12 internal/load/load_test.go | 2 ++
13 3 files changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/internal/gen/asmtest.go b/internal/gen/asmtest.go
16 index d4c27d3..dc5a025 100644
17 --- a/internal/gen/asmtest.go
18 +++ b/internal/gen/asmtest.go
19 @@ -111,7 +111,7 @@ func (a asmtest) arg(t string, i int) string {
20 "imm8": fmt.Sprintf("$%d", math.MaxInt8), // <xs:enumeration value="imm8" />
21 "imm16": fmt.Sprintf("$%d", math.MaxInt16), // <xs:enumeration value="imm16" />
22 "imm32": fmt.Sprintf("$%d", math.MaxInt32), // <xs:enumeration value="imm32" />
23 - "imm64": fmt.Sprintf("$%d", math.MaxInt64), // <xs:enumeration value="imm64" />
24 + "imm64": fmt.Sprintf("$%d", int64(math.MaxInt64)), // <xs:enumeration value="imm64" />
25
26 "al": "AL", // <xs:enumeration value="al" />
27 "cl": "CL", // <xs:enumeration value="cl" />
28 diff --git a/internal/inst/table_test.go b/internal/inst/table_test.go
29 index d0eec14..552078a 100644
30 --- a/internal/inst/table_test.go
31 +++ b/internal/inst/table_test.go
32 @@ -1,3 +1,5 @@
33 +//go:build amd64
34 +
35 package inst_test
36
37 import (
38 diff --git a/internal/load/load_test.go b/internal/load/load_test.go
39 index 4e60758..6d39c25 100644
40 --- a/internal/load/load_test.go
41 +++ b/internal/load/load_test.go
42 @@ -1,3 +1,5 @@
43 +//go:build amd64
44 +
45 package load_test
46
47 import (