Skip to content

Commit

Permalink
stratisd.spec: Build test on rhel
Browse files Browse the repository at this point in the history
Now that we maintain the loopdev crate we depend on, we can build the
tests in RHEL in the same way as we do in Fedora.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Mar 5, 2024
1 parent 471c3f5 commit 2c14191
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions mockbuild_test/stratisd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,9 @@ a2x -f manpage docs/stratis-dumpmetadata.txt

%if %{with check}
%check
# Compile stratisd tests only where package does not use vendoring.
# This is a temporary step, to address the problem of loopdev crate
# 0.4.0 failing to build properly in some situations due to a failure of
# bindgen 0.59.0.
# See https://github.com/stratis-storage/project/issues/607
%if !0%{?rhel}
%if 0%{?rhel}
%cargo_test --no-run
%else
%cargo_test -- --no-run
%endif
%endif
Expand Down

0 comments on commit 2c14191

Please sign in to comment.