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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add sfJoystick tests #245

wants to merge 2 commits into from

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.

@ChrisThrasher ChrisThrasher force-pushed the test_window branch 4 times, most recently from b94b000 to fddda6f Compare April 16, 2024 20:28
These are just copied from the SFML sf::Joystick tests with minor
changes to adhere to the CSFML API.
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