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 support for tests execution on Mac #459

Open
Kolfering opened this issue Dec 22, 2023 · 0 comments
Open

Add support for tests execution on Mac #459

Kolfering opened this issue Dec 22, 2023 · 0 comments

Comments

@Kolfering
Copy link
Member

We have now some replay tests and a setup for UTs in place in /tests but those are only compilable and runnable on Windows.

The way it's done on Windows is instead of having one exe vsproject with all the code like before, there is now 3.
Two exe projects; one for Aleph One, and one for the tests executable and a library linked to the other two with all the Aleph One code.

The tests use the catch2 library from vcpkg and since both Windows & Mac use vcpkg, it's already installed on Mac.
The tests executation is integrated in CI and are ran on every push, after the build.
How to run them can be found at /.github/actions/run-tests

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

No branches or pull requests

1 participant