Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2019-10-27 15:39:18 +0300
committerAnthony Fok <foka@debian.org>2019-10-30 21:22:13 +0300
commit66fe68ffc98974936e157b18cf6bd9266ee081a4 (patch)
tree310438f1f6dd04122b292fbe66010a403d6a574b /resources
parentc5e1e8241a3b9f922f4a5134064ab2847174a959 (diff)
resources/images: Add exception for new test image
in TestImageOperationsGolden due to "fused multiply and add" (FMA) instruction on s390x, ppc64* and arm64. See #6439
Diffstat (limited to 'resources')
-rw-r--r--resources/image_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/image_test.go b/resources/image_test.go
index 89e686ed1..c5564a5cb 100644
--- a/resources/image_test.go
+++ b/resources/image_test.go
@@ -651,7 +651,8 @@ func TestImageOperationsGolden(t *testing.T) {
switch fi1.Name() {
case "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_4c320010919da2d8b63ed24818b4d8e1.png",
"gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_9d4c2220235b3c2d9fa6506be571560f.png",
- "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_c74bb417b961e09cf1aac2130b7b9b85.png":
+ "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_c74bb417b961e09cf1aac2130b7b9b85.png",
+ "gohugoio8_hu7f72c00afdf7634587afaa5eff2a25b2_73538_300x200_fill_gaussian_smart1_2.png":
c.Log("expectedly differs from golden due to dithering:", fi1.Name())
default:
t.Errorf("resulting image differs from golden: %s", fi1.Name())