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

Run tests with MAKEFLAGS=-j2 #580

Merged
merged 1 commit into from
May 8, 2017

Conversation

sethfowler
Copy link
Contributor

Since we stopped persisting the MAKEFLAGS environment variable in the image, we need to pass it in manually when running the tests. Failing to do this was doubling the length of time our tests took to run.

@sethfowler sethfowler self-assigned this May 8, 2017
@sethfowler sethfowler requested a review from cc10512 May 8, 2017 21:16
Copy link
Contributor

@cc10512 cc10512 left a comment

Choose a reason for hiding this comment

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

Would have been nice to have the number of cores in an env var in Travis to set the concurrency in the makefile.

@sethfowler
Copy link
Contributor Author

Travis doesn't provide such an environment variable, but we could add one ourselves so that it's set in one place.

@sethfowler sethfowler merged commit 79ead8c into p4lang:master May 8, 2017
@sethfowler sethfowler deleted the seth/run-tests-with-j2 branch May 8, 2017 21:43
@sethfowler
Copy link
Contributor Author

I went ahead and merged this just to speed up the tests ASAP. We can do cleanup in a followup PR.

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.

2 participants