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

Tests failing on MacOS 14 #103

Open
mattjbr123 opened this issue Jul 11, 2024 · 0 comments
Open

Tests failing on MacOS 14 #103

mattjbr123 opened this issue Jul 11, 2024 · 0 comments

Comments

@mattjbr123
Copy link
Member

mattjbr123 commented Jul 11, 2024

At the moment I cannot get the advanced unit tests to run on MacOS 14 (at the time of writing the MacOS version available under the macos-latest tag) because of issues with gfortran.
The command gfortran is not made available by default, as there are several different versions of gfortran that the user could want, and so there are instead aliases to gfortran that point to specific versions. This means these aliases need to be included specifically in code that runs on MacOS, which they are not in the UniFHy tests because the tests also need to run on Ubuntu (though I imagine this could be fixed with if statements or equivalent if I could be bothered).
To get around this the gfortran command is linked/aliased to the gfortran version wanted as a task that only runs for the tests that run on MacOS. This task no longer works for MacOS-14, maybe because the libraries are now accessible under a different path, or perhaps for some more complicated reason that I didn't have time to look into.
Therefore for now, the tests only run on MacOS-13 until such time can be found to figure it out. @ThibHlln might have some insight?

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