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

Fix tests when running with --all-features #470

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

KodrAus
Copy link
Contributor

@KodrAus KodrAus commented Nov 15, 2021

Closes #381

The filtering tests don't really make sense in the presence of static max level filters. This PR just no-ops them when any of these is enabled. That way we still run them with the default cargo test, but make it possible to also run cargo test --all-features.

@KodrAus KodrAus merged commit 6b5906a into rust-lang:master Nov 15, 2021
EFanZh pushed a commit to EFanZh/log that referenced this pull request Jul 23, 2023
Co-authored-by: github-actions <github-actions@github.com>
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.

cargo test --all-features fails
1 participant