mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
spec: Set XDG_RUNTIME_DIR for tests
This commit is contained in:
@@ -127,6 +127,7 @@ install -Dm644 -t %{buildroot}%{_userunitdir} ./resources/niri-shutdown.target
|
|||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
|
export XDG_RUNTIME_DIR="$(mktemp -d)"
|
||||||
%cargo_test -- --workspace --exclude niri-visual-tests
|
%cargo_test -- --workspace --exclude niri-visual-tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user