Disable make check

The libpmemobj-cpp test harness takes way too long to run (>15 minutes),
and is nondeterministic.  There are several reports upstream of
intermittent failures.  We've also experienced helgrind failure for
RHEL 9.  It would be better to run these tests separately from the build
process.

Resolves: rhbz#1970104
This commit is contained in:
Jeff Moyer 2021-06-09 16:17:13 -04:00
parent b654a95fe2
commit b486ae1496

View File

@ -4,7 +4,7 @@
Name: libpmemobj-cpp
Version: 1.12
Release: 3%{?dist}
Release: 4%{?dist}
Summary: C++ bindings for libpmemobj
# Note: tests/external/libcxx is dual licensed using University of Illinois "BSD-Like" license and the MIT license. It's used only during development/testing and is NOT part of the binary RPM.
License: BSD
@ -114,13 +114,11 @@ cd build
cd build
%make_install
%check
cd build
# https://github.com/pmem/libpmemobj-cpp/issues/469
#ctest -V %{?_smp_mflags} -E concurrent_hash_map_rehash_0_helgrind -E concurrent_hash_map_insert_lookup_0_helgrind
ctest -V -E concurrent_hash_map_rehash_0_helgrind -E concurrent_hash_map_insert_lookup_0_helgrind -E enumerable_thread_specific_access_0_drd
%changelog
* Wed Jun 9 2021 Jeff Moyer <jmoyer@redhat.com> - 1.12-4.el9
- Disable make check
- Resolves: rhbz#1970104
* Wed Jun 9 2021 Jeff Moyer <jmoyer@redhat.com> - 1.12-3.el9
- Enable ppc64le builds
- Resolves: rhbz#1871149