From c645a887a6989e0210c782bb84d4f31200e0d333 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 8 May 2022 18:39:26 -0400 Subject: [PATCH 06/11] Skip broken tests on i686 * compress/flate runs out of memory * testing/fstest uses Seek, which is not implemented there Signed-off-by: Elliott Sales de Andrade --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 60a5a574..cd3cb2f2 100644 --- a/Makefile +++ b/Makefile @@ -328,7 +328,6 @@ TEST_PACKAGES_FAST = \ # Additional standard library packages that pass tests on individual platforms TEST_PACKAGES_LINUX := \ archive/zip \ - compress/flate \ compress/lzw \ crypto/hmac \ debug/dwarf \ @@ -336,8 +335,15 @@ TEST_PACKAGES_LINUX := \ io/fs \ io/ioutil \ strconv \ - testing/fstest \ text/template/parse +ifneq ($(shell getconf LONG_BIT),32) +# Some tests are skipped on 32-bit because: +# compress/flate runs out of memory +# testing/fstest uses Seek, which is not implemented there +TEST_PACKAGES_LINUX += \ + compress/flate \ + testing/fstest +endif TEST_PACKAGES_DARWIN := $(TEST_PACKAGES_LINUX) -- 2.36.1