Disable tests on aarch64

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2020-10-30 15:32:40 -04:00
parent f468feefe1
commit 9800a930e5
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
2 changed files with 5 additions and 15 deletions

View File

@ -1,13 +0,0 @@
diff -ruN ldb-2.2.0.orig/wscript ldb-2.2.0/wscript
--- ldb-2.2.0.orig/wscript 2020-07-09 08:04:50.000000000 -0400
+++ ldb-2.2.0/wscript 2020-10-30 14:30:54.768192042 -0400
@@ -649,8 +649,7 @@
# 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']
else:
test_exes += ['ldb_no_lmdb_test']

View File

@ -41,8 +41,6 @@ Source2: ldb.keyring
Patch0001: 0001-PATCH-wafsamba-Fix-few-SyntaxWarnings-caused-by-regu.patch
# Fix FTBFS / Increase the over-estimation for sparse files
Patch0002: https://gitlab.com/samba-team/samba/-/merge_requests/1420.patch
# Drop a test that is failing on aarch64
Patch0003: drop_test_for_aarch64.patch
BuildRequires: gcc
BuildRequires: libtalloc-devel >= %{talloc_version}
@ -150,7 +148,12 @@ doxygen Doxyfile
%if %{with lmdb}
%check
# Some of the LMDB tests fail on RHEL 9 aarch64
# We need an installable LDB, so disabling tests for now.
%ifnarch aarch64
make %{?_smp_mflags} check
#endifnarch aarch64
%endif
#endif with lmdb
%endif