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

Skip an assertion test when built as Release #138

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

lukhnos
Copy link
Collaborator

@lukhnos lukhnos commented Mar 26, 2024

For the longest time this test failed if the binary was built as release, since C assert is no-op when NDEBUG is defined. Our CI action runs the tests with the Debug build. This just removes a minor annoyance when we try to run ctest with a release build.

@lukhnos lukhnos requested a review from tianjianjiang March 26, 2024 15:28
@xatier
Copy link
Contributor

xatier commented Mar 26, 2024

lgtm!

Copy link
Member

@tianjianjiang tianjianjiang left a comment

Choose a reason for hiding this comment

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

@lukhnos Sounds good to me and I guess you will soon also change that in the upstream repo?

@lukhnos
Copy link
Collaborator Author

lukhnos commented Mar 27, 2024

@lukhnos Sounds good to me and I guess you will soon also change that in the upstream repo?

Yes. Thanks!

@lukhnos lukhnos merged commit afc223f into master Mar 27, 2024
6 checks passed
@lukhnos lukhnos deleted the dev/fix-test-in-release branch March 27, 2024 15:24
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.

3 participants