Skip to content

Mark a bunch of new tablets as having Dials and make the tests pass again#697

Merged
whot merged 2 commits into
linuxwacom:masterfrom
whot:wip/fix-dials-pass-test
May 16, 2024
Merged

Mark a bunch of new tablets as having Dials and make the tests pass again#697
whot merged 2 commits into
linuxwacom:masterfrom
whot:wip/fix-dials-pass-test

Conversation

@whot

@whot whot commented May 16, 2024

Copy link
Copy Markdown
Member

This changes a bunch of tablets from listed as having strips to having Dials. Manual search, I probably missed a few and a few others I couldn't find anything online about.

The second commit catches assertions in the strip/dial svg tests and converts them to pytest.skip() for devices where the .tablet file contains the string "autogenerated". This allows us to merge #687 and have the CI work properly again as well as fix the SVG files one-by-one.

whot added 2 commits May 16, 2024 10:02
The autogenerated code marked these as having strips but these have
Dials. Change them accordingly.

This patch may be incomplete, not all tablets model names can be found
online.
For each device search for the corresponding .tablet file and if that
file contains "autogenerated" allow for the dial/strip tests to fail
(and skip the test with an error).

This allows us to fix the SVGs one-by-one while leaving the upstream CI
enabled.
@whot whot mentioned this pull request May 16, 2024
42 tasks
@whot whot merged commit 7cefe37 into linuxwacom:master 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