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

feat: pytest marks to selectively skip some tests #4542

Closed
wants to merge 4 commits into from

Conversation

dougch
Copy link
Contributor

@dougch dougch commented May 3, 2024

Resolved issues:

Partial for #3841

Description of changes:

Adds a pytest mark to allow skipping tests based on current platform (x86 or arm) and if we detect a nix devshell.

Marks added to skip certain tests based on local testing.

Call-outs:

The mark uncollect_if() was moved from conftest.py to the pytest.ini.

While pytest.ini is normally at the root of the project, we've historically passed all of the arguments into pytest instead of using a configuration file.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Locally.

Is this a refactor change? No.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label May 3, 2024
@dougch dougch closed this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant