diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 22:15:44 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 22:15:44 +0300 |
| commit | 4741ab2e0465275d58c36db426b169c742d964cf (patch) | |
| tree | 012922ac84461b78729025dcec3c6d0b85a36c17 | |
| parent | 08fb9435fda1b5109d8414b6aaec980ab4068148 (diff) | |
| download | niri-4741ab2e0465275d58c36db426b169c742d964cf.tar.gz niri-4741ab2e0465275d58c36db426b169c742d964cf.tar.bz2 niri-4741ab2e0465275d58c36db426b169c742d964cf.zip | |
spec: Set XDG_RUNTIME_DIR for tests
| -rw-r--r-- | niri.spec.rpkg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/niri.spec.rpkg b/niri.spec.rpkg index 71ef9494..266cc886 100644 --- a/niri.spec.rpkg +++ b/niri.spec.rpkg @@ -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 |
