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: Make test-managed succeed without libffi #473

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

ueno
Copy link
Member

@ueno ueno commented Mar 18, 2023

The test_max_session_load test was assuming that the closure assignment would succeed even if the fixed closures are exhausted, thanks to the fallback mechanism when libffi is enabled. This conditionalizes the test with WITH_FFI and do not exceed the limit if libffi is not enabled.

Fixes: #466

@coveralls
Copy link

coveralls commented Mar 18, 2023

Coverage Status

Coverage: 68.92% (-0.0002%) from 68.921% when pulling 53d07ad on ueno:wip/dueno/test-managed into 7cf6e71 on p11-glue:master.

@ueno ueno requested a review from ZoltanFridrich March 18, 2023 10:44
Copy link
Contributor

@ZoltanFridrich ZoltanFridrich left a comment

Choose a reason for hiding this comment

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

Seems good to me.

The test_max_session_load test was assuming that the closure
assignment would succeed even if the fixed closures are exhausted,
thanks to the fallback mechanism when libffi is enabled.  This
conditionalizes the test with WITH_FFI and do not exceed the limit if
libffi is enabled.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
@ueno ueno force-pushed the wip/dueno/test-managed branch from f0a11ef to 53d07ad Compare March 22, 2023 08:18
@ueno ueno merged commit 47f2df8 into p11-glue:master Mar 22, 2023
@ueno ueno added this to the 0.25.0 milestone Apr 6, 2023
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.

test-managed failed
3 participants