spec: Set XDG_RUNTIME_DIR for tests

This commit is contained in:
Ivan Molodetskikh
2024-12-30 22:15:44 +03:00
parent 08fb9435fd
commit 4741ab2e04
+1
View File
@@ -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