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

Add annotation for tests with miri ignore #6981

Merged
merged 3 commits into from
Nov 20, 2024
Merged

Conversation

tiif
Copy link
Contributor

@tiif tiif commented Nov 19, 2024

I added annotation for all unsupported FFI errors so it'd be easier to open up the test later if miri started to support those syscalls.

cc #6812

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am pretty surprised that miri can actually run buffer_not_included_in_future here as socket is not yet supported. Is this test using socketpair?

Copy link
Contributor

Choose a reason for hiding this comment

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

The buffer_not_included_in_future test is an assertion about the size of a future. It does not run the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh I see.

Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thanks! This will be really useful to reenable tests in the future.

@Darksonn Darksonn added A-tokio Area: The main tokio crate A-ci Area: The continuous integration setup labels Nov 19, 2024
@Darksonn
Copy link
Contributor

Are you able to resolve the merge conflict? Thanks!

@tiif
Copy link
Contributor Author

tiif commented Nov 20, 2024

Sure, I also did a miri version bump to get certain flag support for pipe2.

@Darksonn Darksonn merged commit 4047d79 into tokio-rs:master Nov 20, 2024
82 checks passed
@tiif tiif deleted the test_annotate branch November 20, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration setup A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants