Debian Codegraph @

debian/patches/0007-Skip-test-on-architectures-with-dithering-difference.patch

raw
1 From: "Dr. Tobias Quathamer" <[email protected]>
2 Date: Fri, 28 Aug 2026 10:55:31 +0200
3 Subject: Skip test on architectures with dithering differences
4
5 Forwarded: not-needed
6 ---
7 internal/warpc/avif_integration_test.go | 4 ++++
8 1 file changed, 4 insertions(+)
9
10 diff --git a/internal/warpc/avif_integration_test.go b/internal/warpc/avif_integration_test.go
11 index 0b783a1..e089b39 100644
12 --- a/internal/warpc/avif_integration_test.go
13 +++ b/internal/warpc/avif_integration_test.go
14 @@ -1,6 +1,7 @@
15 package warpc_test
16
17 import (
18 + "runtime"
19 "strings"
20 "testing"
21
22 @@ -78,6 +79,9 @@ gif:{{ $gif.RelPermalink }}
23
24 // See issue 14987.
25 func TestAvifEncodeHintSubsampling(t *testing.T) {
26 + if runtime.GOARCH != "386" && runtime.GOARCH != "amd64" && runtime.GOARCH != "arm64" {
27 + t.Skipf("Skipping test on %v due to dithering variations.", runtime.GOARCH)
28 + }
29 files := `
30 -- hugo.toml --
31 -- assets/logo.png --