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

Add sfJoystick tests #245

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Add sfJoystick tests #245

merged 2 commits into from
Jun 25, 2024

Conversation

ChrisThrasher
Copy link
Member

Most Window module APIs require a display which means pulling in the same xvfb infrastructure SFML uses. We can do that eventually, but for now I wrote some quick sfJoystick tests since these don't require a display to be ran in CI.

This is yet another instance where having CSFML live inside SFML/SFML would be useful since it could easily pick up the existing infrastructure SFML has like this xvfb stuff or our clang-format and clang-tidy infrastructure. This is certainly out of scope for SFML 3 but it's still something I'm considering for the future since I think it's both feasible and beneficial.

@ChrisThrasher
Copy link
Member Author

DLL issues are causing CI to fail. We need to make sure all of the SFML and CSFML DLLs exist in the same directory as the test executables but for some reason that is not the case at the moment.

These are just copied from the SFML sf::Joystick tests with minor
changes to adhere to the CSFML API.
@ChrisThrasher ChrisThrasher merged commit 9b96c2a into master Jun 25, 2024
36 checks passed
@ChrisThrasher ChrisThrasher deleted the test_window branch June 25, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant