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

hack/test/unit: allow one to exclude extra directories #45702

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucaskanashiro
Copy link

@lucaskanashiro lucaskanashiro commented Jun 5, 2023

This is a duplicate of PR #45693 that I closed it by accident and cannot reopen it after a force-push :(

  • What I did
    Allow one to exclude more directories when running unit tests.

  • How I did it
    Changed hack/test/unit to accept the environment variable exclude_paths with more test directories to be excluded.

  • How to verify it
    Run the script skipping some tests, such as exclude_paths='|/daemon/graphdriver/aufs' ./hack/test/unit. Tests from the mentioned directory won't be executed.

  • Description for the changelog
    hack/test/unit: allow one to exclude extra directories when running unit tests.

  • A picture of a cute animal (not mandatory but encouraged)
    image

Signed-off-by: Lucas Kanashiro <lucas.kanashiro@canonical.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.

None yet

1 participant