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

Fix macos tests #274

Merged
merged 3 commits into from
Nov 16, 2023
Merged

Fix macos tests #274

merged 3 commits into from
Nov 16, 2023

Conversation

nikitalita
Copy link
Contributor

macos tests have been failing for quite a while now but weren't being detected.

pybind 11 2.10 removed python 2 support, and since pybind11 got updated to >= 2.10 in homebrew, all the python 2 tests have been failing. The script didn't actually exit with an error code if the tests failed though, so it wasn't being detected.

Additonally, tests are failing to build at all on macos 13 due to differences in the header file layouts; if we don't include the C header files AFTER the C++ header files, binder will fail to find c std header files (e.g. <cstdargs>->stdargs.h). I have modified tests/CMakeLists.txt to fix this.

Copy link
Member

@lyskov lyskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, - thank you for catching this @nikitalita !

@lyskov lyskov merged commit 4d3f536 into RosettaCommons:master Nov 16, 2023
11 checks passed
ldedier-gpfw pushed a commit to G-P-S/binder that referenced this pull request Sep 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.

2 participants