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

Use -Cpanic=abort for correct coverage #909

Merged
merged 1 commit into from
May 6, 2020
Merged

Use -Cpanic=abort for correct coverage #909

merged 1 commit into from
May 6, 2020

Conversation

kngwyu
Copy link
Member

@kngwyu kngwyu commented May 6, 2020

See the discussion in mozilla/grcov#427 for more.

@davidhewitt
Copy link
Member

davidhewitt commented May 6, 2020

The test I added for resume panic (in PyErr) might abort if this flag is set; might need to cfg that test out?

@kngwyu kngwyu force-pushed the fix-grcov branch 2 times, most recently from 311e536 to 0d357bb Compare May 6, 2020 10:23
@kngwyu
Copy link
Member Author

kngwyu commented May 6, 2020

Looks it works correctly: https://codecov.io/github/PyO3/pyo3/commit/0d357bbb55f82345b9c3c904b727637178bfc86f
And now travis test is 4~5 min fast since I moved codecov flags to cover.sh.

@davidhewitt
Copy link
Member

Nice!

@kngwyu kngwyu merged commit eb60a1c into master May 6, 2020
@kngwyu kngwyu deleted the fix-grcov branch May 8, 2020 09:55
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