diff options
| author | Cole Helbling <cole.e.helbling@outlook.com> | 2025-08-15 23:08:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-16 06:08:58 +0000 |
| commit | 38df8d4f33c0caa2e6edca85c1e25debcc4fa1be (patch) | |
| tree | cef2b3f8141d0be0d97272fd059d7dcc2cb86f70 /flake.nix | |
| parent | 6d0505e684c9b93e03a8b4cc5a313c4dea365e54 (diff) | |
| download | niri-38df8d4f33c0caa2e6edca85c1e25debcc4fa1be.tar.gz niri-38df8d4f33c0caa2e6edca85c1e25debcc4fa1be.tar.bz2 niri-38df8d4f33c0caa2e6edca85c1e25debcc4fa1be.zip | |
flake: skip tests that require a valid EGL display (#2244)
* flake: skip tests that require a valid EGL display
Otherwise:
niri> failures:
niri>
niri> ---- tests::animations::clientside_height_change_doesnt_animate stdout ----
niri>
niri> thread 'tests::animations::clientside_height_change_doesnt_animate' panicked at src/tests/animations.rs:87:54:
niri> called `Result::unwrap()` on an `Err` value: error creating EGL display
niri>
niri> Caused by:
niri> Unable to obtain a valid EGL Display.
niri> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
niri>
niri> ---- tests::animations::height_resize_animates_next_y stdout ----
niri>
niri> thread 'tests::animations::height_resize_animates_next_y' panicked at src/tests/animations.rs:87:54:
niri> called `Result::unwrap()` on an `Err` value: error creating EGL display
niri>
niri> Caused by:
niri> Unable to obtain a valid EGL Display.
niri>
niri>
niri> failures:
niri> tests::animations::clientside_height_change_doesnt_animate
niri> tests::animations::height_resize_animates_next_y
niri>
niri> test result: FAILED. 147 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s
* flake: skip all animations tests, present and future
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
* fixup: typo
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -115,6 +115,12 @@ export XDG_RUNTIME_DIR="$(mktemp -d)" ''; + checkFlags = [ + # These tests require the ability to access a "valid EGL Display", but that won't work + # inside the Nix sandbox + "--skip=tests::animations" + ]; + postInstall = '' installShellCompletion --cmd niri \ |
