diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-22 11:44:29 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-01-22 11:44:29 +0100 |
commit | 836c24261f9f175254256fb326d92a3db47e1c75 (patch) | |
tree | 23737ca87683b45179d0cc0a288379619dd53981 /hugolib | |
parent | c6d650c8c8b22fdc7ddedc1e42a3ca698e1390d6 (diff) |
hugolib: Disable a test assertion on ARM
See #6655
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/image_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
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)) } |