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