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

Check skipped tests/imports #1069

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Check skipped tests/imports #1069

wants to merge 7 commits into from

Conversation

remram44
Copy link
Member

This allows tests to specify a list of things they need, when they try to skip. If none of this things appears in the VISTRAILS_SKIP_WHITELIST, a test failure is reported instead.

This would allow us to specify the things that can't be run on a particular machine (because deps are not installed, or we are running tests headless, or OpenGL doesn't work) and still fail if something unexpected happens (matplotlib doesn't import, file_archive is not installed, pytz is out of date, ...)

Fixes #1028

Some terms should definitely be renamed in this ("dependency", "component", "skippable").

I might have over-engineered this again, but hopefully it's useful. It does mean that we should set the variable on build machines.

@remram44 remram44 force-pushed the checked-skip branch 3 times, most recently from befca4d to 1170654 Compare July 23, 2015 18:28
@remram44 remram44 force-pushed the checked-skip branch 2 times, most recently from f1efe98 to 88bb663 Compare July 23, 2015 20:51
@rexissimus
Copy link
Member

Looks useful. I guess at least the OS X buildbot should run all tests, and most machines currently skipping tests (mostly because of missing packages), should just be fixed to not do so by using an empty whitelist?

Maybe rename skip_test_checked to check_skip_test?

@remram44 remram44 force-pushed the checked-skip branch 4 times, most recently from 0202b84 to 88bb663 Compare July 29, 2015 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants