community/py3-lmdb: skip test on some arches

Skip `test_close` test on 32-bit arm and ppc64le. Previously known to segfault
on loongarch64. Error found on the builders.

```
tests/env_test.py::CloseTest::test_close Fatal Python error: Segmentation fault

Current thread 0xf7f77f40 [python3] (most recent call first):
  File "/home/buildozer/aports/community/py3-lmdb/src/py-lmdb-py-lmdb_1.8.1/lmdb/cffi.py", line 553 in _mvstr
  File "/home/buildozer/aports/community/py3-lmdb/src/py-lmdb-py-lmdb_1.8.1/lmdb/cffi.py", line 1799 in item
  File "/home/buildozer/aports/community/py3-lmdb/src/py-lmdb-py-lmdb_1.8.1/lmdb/cffi.py", line 1815 in _iter
  File "/home/buildozer/aports/community/py3-lmdb/src/py-lmdb-py-lmdb_1.8.1/tests/env_test.py", line 286 in <lambda>
  File "/usr/lib/python3.14/unittest/case.py", line 247 in handle
  File "/usr/lib/python3.14/unittest/case.py", line 813 in assertRaises
  File "/home/buildozer/aports/community/py3-lmdb/src/py-lmdb-py-lmdb_1.8.1/tests/env_test.py", line 286 in test_close

[...]

Current thread's C stack trace (most recent call first):
  <cannot get C stack on this system>

Extension modules: _cffi_backend, lmdb_cffi (total: 2)
Segmentation fault
```
This commit is contained in:
mio 2026-03-28 22:01:14 +00:00
parent 7c569a8bbd
commit 4d50ec1c2e

View File

@ -32,8 +32,8 @@ check() {
local skipped_tests="not testNextNodupAfterDeletePutSingleKey and not testPrevNodupAfterDeletePutSingleKey"
case "$CARCH" in
# Test test_close segfaults on loongarch64
loongarch64)
# Test test_close segfaults on arm*, loongarch64, ppc64le
arm*|loongarch64|ppc64le)
.testenv/bin/python3 -m pytest -v -k "$skipped_tests and not test_close" ;;
*)
.testenv/bin/python3 -m pytest -v -k "$skipped_tests";;