libldb/backport-Skip-ldb_lmdb_free_list_test-on-ppc64el-ppc64-and-sp.patch
yangl777 9a52ef1842 update libldb to 2.4.1
(cherry picked from commit 46428092726b41fb372bf83725e739cd199c7134)
2022-03-26 11:24:52 +08:00

30 lines
1.1 KiB
Diff

From eb5409dd5e4dde482935421ce0eddf88a0d2d2f4 Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Thu, 25 Jun 2020 15:15:40 +0200
Subject: [PATCH] Skip ldb_lmdb_free_list_test on alpha, ia64, mips64el, ppc64el, ppc64 and sparc64
Workaround: https://bugzilla.samba.org/show_bug.cgi?id=14404
---
wscript | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/wscript b/wscript
index 9866901..17a9f14 100644
--- a/wscript
+++ b/wscript
@@ -651,8 +651,9 @@ def test(ctx):
# we can fit > 4G of data into the DB), it would fill up
# the disk on many of our test instances
'ldb_mdb_kv_ops_test',
- 'ldb_key_value_sub_txn_mdb_test',
- 'ldb_lmdb_free_list_test']
+ 'ldb_key_value_sub_txn_mdb_test']
+ if os.environ.get('DEB_HOST_ARCH', 'unknown') not in ['alpha', 'ia64', 'mips64el', 'ppc64el', 'ppc64', 'sparc64', 'unknown']:
+ test_exes += ['ldb_lmdb_free_list_test']
else:
test_exes += ['ldb_no_lmdb_test']
--
2.27.0