Skip to content

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

Merged
KodrAus merged 1 commit into
rust-lang:masterfrom
KodrAus:chore/all-features-tests
Nov 15, 2021
Merged

Fix tests when running with --all-features#470
KodrAus merged 1 commit into
rust-lang:masterfrom
KodrAus:chore/all-features-tests

Conversation

@KodrAus
Copy link
Copy Markdown
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 force-pushed the chore/all-features-tests branch from b2c4f57 to c688901 Compare November 15, 2021 06:59
@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