mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
SPEC: Run cmocka based unit test in %check phase
This patch also consolidate build dependencies for c based unit tests Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
be6ecac220
commit
5594205628
@ -78,7 +78,6 @@ BuildRequires: python-lxml
|
||||
BuildRequires: python-pyasn1 >= 0.0.9a
|
||||
BuildRequires: python-qrcode-core >= 5.0.0
|
||||
BuildRequires: python-dns >= 1.11.1
|
||||
BuildRequires: check
|
||||
BuildRequires: libsss_idmap-devel
|
||||
BuildRequires: libsss_nss_idmap-devel >= 1.12.2
|
||||
BuildRequires: java-headless
|
||||
@ -99,6 +98,10 @@ BuildRequires: python-six
|
||||
BuildRequires: python-jwcrypto
|
||||
BuildRequires: custodia
|
||||
|
||||
# Build dependencies for unit tests
|
||||
BuildRequires: libcmocka-devel
|
||||
BuildRequires: nss_wrapper
|
||||
|
||||
%description
|
||||
IPA is an integrated solution to provide centrally managed Identity (users,
|
||||
hosts, services), Authentication (SSO, 2FA), and Authorization
|
||||
@ -405,6 +408,9 @@ make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} all
|
||||
make IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} client
|
||||
%endif # ONLY_CLIENT
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check VERBOSE=yes
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
export SUPPORTED_PLATFORM=%{platform_module}
|
||||
|
Loading…
Reference in New Issue
Block a user