Skip to content

Allow excluding tests - #155

Merged
christiangnrd merged 1 commit into
mainfrom
exclude
Aug 7, 2026
Merged

Allow excluding tests#155
christiangnrd merged 1 commit into
mainfrom
exclude

Conversation

@christiangnrd

Copy link
Copy Markdown
Collaborator

Close #134

@giordano giordano left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a very minor comment, but looks otherwise good 🚀 Also, CC @luraess

Comment thread src/ParallelTestRunner.jl
@christiangnrd
christiangnrd merged commit c923905 into main Aug 7, 2026
23 checks passed
@christiangnrd
christiangnrd deleted the exclude branch August 7, 2026 17:01
@christiangnrd

Copy link
Copy Markdown
Collaborator Author

For posterity, this works by first filtering all the tests for inclusion as normal, then the exclude args are used to filter out matches from the included tests. That means that one could run all the gpuarrays tests except for the gpuarrays/reductions tests with ["gpuarrays", "!gpuarrays/reductions"]as positional arguments.

@giordano

giordano commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Yup, I liked the tests for that, and it's a useful (and probably common?) usescase

@christiangnrd

Copy link
Copy Markdown
Collaborator Author

Yeah I find myself wanting to exclude the tests I know are failing but that I'm not currently working on when testing with new julia/os versions

@luraess

luraess commented Aug 7, 2026

Copy link
Copy Markdown

Thanks for adding this feature!

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.

[Feature request] Exclude tests

3 participants