mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +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}
|
||||
%check
|
||||
export XDG_RUNTIME_DIR="$(mktemp -d)"
|
||||
%cargo_test -- --workspace --exclude niri-visual-tests
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user