Skip to content

Commit

Permalink
spec: Set XDG_RUNTIME_DIR for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Dec 30, 2024
1 parent 08fb943 commit 4741ab2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions niri.spec.rpkg
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ install -Dm644 -t %{buildroot}%{_userunitdir} ./resources/niri-shutdown.target

%if %{with check}
%check
export XDG_RUNTIME_DIR="$(mktemp -d)"
%cargo_test -- --workspace --exclude niri-visual-tests
%endif

Expand Down

0 comments on commit 4741ab2

Please sign in to comment.