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

Run tests under panic=abort #749

Merged
merged 16 commits into from
Dec 10, 2024
Merged

Run tests under panic=abort #749

merged 16 commits into from
Dec 10, 2024

Conversation

Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Dec 4, 2024

No description provided.

@Darksonn Darksonn requested a review from taiki-e December 10, 2024 16:18
ci/panic-abort.sh Outdated Show resolved Hide resolved
@@ -291,6 +291,7 @@ fn split_to_uninitialized() {
}

#[test]
#[cfg_attr(not(panic = "unwind"), ignore)]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#[cfg_attr(not(panic = "unwind"), ignore)]
#[cfg_attr(panic = "abort", ignore)]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There could be additional panic strategies in the future.

@@ -1618,6 +1619,7 @@ fn owned_to_vec() {
}

#[test]
#[cfg_attr(not(panic = "unwind"), ignore)]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#[cfg_attr(not(panic = "unwind"), ignore)]
#[cfg_attr(panic = "abort", ignore)]

@Darksonn Darksonn merged commit f7072c9 into master Dec 10, 2024
16 checks passed
@Darksonn Darksonn deleted the alice/panic-abort-tests branch December 10, 2024 21:30
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.

2 participants