forge
Explore
Log in

Don't you dare go Hollow

spec: Set XDG_RUNTIME_DIR for tests

Browse files at this commit

4741ab2e0465275d58c36db426b169c742d964cfIvan MolodetskikhParent: 08fb943
niri.spec.rpkgmodified+1 -0
@@ -127,6 +127,7 @@ install -Dm644 -t %{buildroot}%{_userunitdir} ./resources/niri-shutdown.target
127 127
128 %if %{with check}128 %if %{with check}
129 %check129 %check
130+export XDG_RUNTIME_DIR="$(mktemp -d)"
130 %cargo_test -- --workspace --exclude niri-visual-tests131 %cargo_test -- --workspace --exclude niri-visual-tests
131 %endif132 %endif
132 133