From 836c24261f9f175254256fb326d92a3db47e1c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 22 Jan 2020 11:44:29 +0100 Subject: hugolib: Disable a test assertion on ARM See #6655 --- hugolib/image_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hugolib/image_test.go') diff --git a/hugolib/image_test.go b/hugolib/image_test.go index f3827d2ad..84d43f5e9 100644 --- a/hugolib/image_test.go +++ b/hugolib/image_test.go @@ -18,6 +18,7 @@ import ( "os" "path/filepath" "runtime" + "strings" "testing" "github.com/gohugoio/hugo/htesting" @@ -147,7 +148,7 @@ IMG SHORTCODE: /images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_129x239_r } err = b.BuildE(BuildCfg{}) - if runtime.GOOS != "windows" { + if runtime.GOOS != "windows" && !strings.Contains(runtime.GOARCH, "arm") { // TODO(bep) c.Assert(err, qt.Not(qt.IsNil)) } -- cgit v1.2.3