Only build the tests, do not try to run them

This commit is contained in:
mulhern 2022-03-24 11:36:28 -04:00
parent 2d756a4017
commit 3232aa6393

View File

@ -6,7 +6,7 @@
Name: stratisd
Version: 3.0.4
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Daemon that manages block devices to create filesystems
# 0BSD or MIT or ASL 2.0
@ -127,7 +127,7 @@ install -Dpm0755 -t %{buildroot}%{_systemd_util_dir} systemd/stratis-fstab-setup
%if %{with check}
%check
%cargo_test -- -- --skip real_ --skip loop_ --skip travis_
%cargo_test -- --no-run
%endif
%post
@ -172,6 +172,9 @@ install -Dpm0755 -t %{buildroot}%{_systemd_util_dir} systemd/stratis-fstab-setup
%{_systemdgeneratordir}/stratis-setup-generator
%changelog
* Thu Mar 24 2022 mulhern <amulhern@redhat.com> - 3.0.4-6
- Only build the tests, do not try to run them
* Thu Mar 24 2022 mulhern <amulhern@redhat.com> - 3.0.4-5
- Do not set unused global