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

Always download the common test suite before running tests #387

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

Conversation

iainbeeston
Copy link
Contributor

@iainbeeston iainbeeston commented Jul 5, 2017

In #377 I made it possible to run the tests without having internet
access. But it seems that in the process I also disabled the code that
downloads the common test suite when you first check out the
codebase.

This changes the behaviour so that if you run the test suite and you
have internet access the common test suite is automatically
downloaded. If you don't have internet access it continues without
it. To update the common test suite to the latest version, you now
need to run the tests with the UPDATE_TEST_SUITE env var set.

@iainbeeston
Copy link
Contributor Author

@RST-J Could I please get a quick review of this? It's a change to the test suite rather than user-facing code.

@iainbeeston
Copy link
Contributor Author

iainbeeston commented Jul 5, 2017

Ok this isn't fixing an issue on travis as I first thought. It seems that by default travis performs a git submodule update after checkout, which is what we're doing here. However, it would be helpful if we did this automatically for contributors too

In voxpupuli#377 I made it possible to run the tests without having internet
access. But it seems that in the process I also disabled the code that
downloads the common test suite when you first check out the
codebase.

This changes the behaviour so that if you run the test suite and you
have internet access the common test suite is automatically
downloaded. If you don't have internet access it continues without
it. To update the common test suite to the latest version, you now
need to run the tests with the `UPDATE_TEST_SUITE` env var set.
@iainbeeston iainbeeston force-pushed the include-common-test-suite branch from 8b434c9 to d98bd02 Compare July 5, 2017 09:26
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.

1 participant