Skip to content

Reduce build noise #473

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

Closed
wants to merge 3 commits into from
Closed

Conversation

sterlingjensen
Copy link
Contributor

@sterlingjensen sterlingjensen commented Nov 28, 2018

This change is Reviewable

Hook panic with nop, unexpected panics still work as expected.
@@ -135,6 +135,7 @@ fn collect_mime<F>(add_test: &mut F)
}

fn main() {
std::panic::set_hook(Box::new(|_| {}));
Copy link
Member

Choose a reason for hiding this comment

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

I don’ think this is appropriate. Panic output/backtraces can be essential, especially when tests are failing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed by d593f4c

On panic, evaluate the test case for the expected panic flag, silence if so flagged.
@bors-servo
Copy link
Contributor

☔ The latest upstream changes (presumably #517) made this pull request unmergeable. Please resolve the merge conflicts.

@djc
Copy link
Contributor

djc commented Aug 25, 2020

Rebased as 6f2402b and 9512b55. Thanks for cleaning up the noise -- it was bugging me, too!

@djc djc closed this Aug 25, 2020
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.

4 participants