Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the pytest invocation #687

Merged
merged 2 commits into from
May 16, 2024
Merged

Fix the pytest invocation #687

merged 2 commits into from
May 16, 2024

Conversation

whot
Copy link
Member

@whot whot commented May 13, 2024

meson always sets ASAN_OPTIONS so the SVG tests didn't actually run in our CI. oops.

Filing as draft because pretty much all the SVGs added in #659 are missing some bits so they need to get fixed one-by-one.

whot added 2 commits May 16, 2024 18:39
meson always sets ASAN_OPTIONS/UBSAN_OPTIONS even where they're not
used which lead to us skipping the various SVG tests during meson test.

Instead move this to meson.build and just run pytest if sanitize is off.
In the meson test run, split the pytests across multiple invocations.
This makes it slighly easier to debug and also avoids any timeout issues
since we no longer have one long test run.
@whot whot force-pushed the wip/pytest-fixes branch from 2e28364 to 0779b19 Compare May 16, 2024 08:43
@whot whot marked this pull request as ready for review May 16, 2024 08:50
@whot
Copy link
Member Author

whot commented May 16, 2024

ftr, this change still skips the hwdb checks in the CI because of

SKIPPED [1092] ../test/test_udev_rules.py:117: Skipping test: [Errno 13] Permission denied: '/etc/udev/hwdb.d/99-libwacom-pytest.hwdb'

Need to fix that separately.

@whot whot merged commit 84ad9d4 into linuxwacom:master May 16, 2024
14 checks passed
@whot whot mentioned this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant