From 082d0581b76e280b3d26f2f01695a291f6f55f39 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 27 Aug 2025 14:20:22 +0300 Subject: Improve filtering for tests that need EGL This way we don't skip the layout animation tests. --- docs/wiki/Packaging-niri.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/wiki/Packaging-niri.md b/docs/wiki/Packaging-niri.md index ea809abf..5c5f16cd 100644 --- a/docs/wiki/Packaging-niri.md +++ b/docs/wiki/Packaging-niri.md @@ -44,6 +44,13 @@ $ export RAYON_NUM_THREADS=2 Don't forget to exclude the development-only `niri-visual-tests` crate when running tests. +Some tests require surfaceless EGL to be available at test time. +If this is problematic, you can skip them like so: + +``` +$ cargo test -- --skip=::egl +``` + You may also want to set the `RUN_SLOW_TESTS=1` environment variable to run the slower tests. ### Version string -- cgit