Improve filtering for tests that need EGL

This way we don't skip the layout animation tests.
This commit is contained in:
Ivan Molodetskikh
2025-08-27 14:20:22 +03:00
parent fd6dd826fb
commit 082d0581b7
3 changed files with 10 additions and 3 deletions
+7
View File
@@ -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