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 Python Tests Cmake #863

Merged
merged 4 commits into from
Aug 29, 2021
Merged

Fix Python Tests Cmake #863

merged 4 commits into from
Aug 29, 2021

Conversation

varunagrawal
Copy link
Collaborator

Updated the CMake so that the tests are verbose and easy to debug.

I also have some doubts about the working directory for the tests so updated that. Ever since I've done that, I haven't encountered any segfaults (was getting plenty of these before).

@gchenfc I am merging this into your tests/basis_python branch so we can debug whatever is going on there.

@varunagrawal varunagrawal added the python Related to python wrapper label Aug 28, 2021
@varunagrawal varunagrawal self-assigned this Aug 28, 2021
@varunagrawal
Copy link
Collaborator Author

@gchenfc so your python unit test actually unveiled a bug in FourierBasis. I fixed the bug and also formatted the tests a bit so that they report which particular case fails a bit better. The CI should now pass!

@varunagrawal varunagrawal added the bugfix Fixes an issue or bug label Aug 29, 2021
Copy link
Member

@gchenfc gchenfc left a comment

Choose a reason for hiding this comment

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

Awesome, tysm!

Since this is pointing to tests/basis_python I'll merge this in.

@gchenfc gchenfc merged commit 1764a7c into tests/basis_python Aug 29, 2021
@gchenfc gchenfc deleted the fix/python-tests-cmake branch August 29, 2021 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes an issue or bug python Related to python wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants