SHA256
1
0
forked from pool/systemd

emphasize that it's the *unit* tests that are run in %check

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1523
This commit is contained in:
Franck Bui 2024-05-16 14:28:26 +00:00 committed by Git OBS Bridge
parent d09e66c09e
commit aea07c1d29
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 16 10:01:20 UTC 2024 - Radoslav Kolev <radoslav.kolev@suse.com> Thu May 16 10:01:20 UTC 2024 - Radoslav Kolev <radoslav.kolev@suse.com>
- systemd.spec: enable tests during build - systemd.spec: enable unit tests during build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 16 08:27:27 UTC 2024 - Franck Bui <fbui@suse.com> Thu May 16 08:27:27 UTC 2024 - Franck Bui <fbui@suse.com>

View File

@ -139,7 +139,7 @@ BuildRequires: pam-devel
BuildRequires: python3-Jinja2 BuildRequires: python3-Jinja2
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(blkid) >= 2.26 BuildRequires: pkgconfig(blkid) >= 2.26
#The following packages are only required by the tests during %check # The following packages are only required by the execution of the unit tests during %%check
BuildRequires: acl BuildRequires: acl
BuildRequires: distribution-release BuildRequires: distribution-release
BuildRequires: python3-pefile BuildRequires: python3-pefile
@ -1094,8 +1094,8 @@ rm -fr %{buildroot}%{_docdir}/systemd
%systemd_pre systemd-journald-audit.socket %systemd_pre systemd-journald-audit.socket
%systemd_pre systemd-userdbd.service %systemd_pre systemd-userdbd.service
#Execute the tests
%check %check
# Run the unit tests.
%meson_test %meson_test
%post %post