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

How to test a custom math library with Catch2 (while catch2 relies on libm) ? #2877

Open
Acwok opened this issue Jun 20, 2024 · 1 comment
Open

Comments

@Acwok
Copy link

Acwok commented Jun 20, 2024

I'm working on an embedded project where our executable depends on a space qualified math library called libmcs: https://essr.esa.int/project/libmcs-mathematical-library-for-critical-systems
This library is a wrapper around the standard math library to only keep the functions which were certified for space applications.

I'd like to build unit tests for my projet but there are conflicts between the standard math library used by Catch2 and libmcs used by my code.

How do you handle such a situation ?
Is there a mecanism for that in catch2 ?

@NicolasMallent
Copy link

Hello,
I have similar problems and I'm interested in the answer (if any).

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

2 participants