Skip to content

Fix a race condition caused by concurrently executed codegen unit tests. #33317

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

Merged

Conversation

michaelwoerister
Copy link
Member

This hopefully fixes issue #33315.

This short-term solution just makes sure that every test uses its own directory so they can't get into conflict with each other.

As a more long-term solution, I'd probably prefer to make the partitioning scheme specifiable via -Ccodegen-units (e.g. like -Ccodegen-units=per-module) so that we don't have to rely on -Zincremental in these test cases.

r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+ a4128e5 p=5

@bors
Copy link
Collaborator

bors commented May 1, 2016

⌛ Testing commit a4128e5 with merge a4b0481...

bors added a commit that referenced this pull request May 1, 2016
…r=alexcrichton

Fix a race condition caused by concurrently executed codegen unit tests.

This hopefully fixes issue #33315.

This short-term solution just makes sure that every test uses its own directory so they can't get into conflict with each other.

As a more long-term solution, I'd probably prefer to make the partitioning scheme specifiable via `-Ccodegen-units` (e.g. like `-Ccodegen-units=per-module`) so that we don't have to rely on `-Zincremental` in these test cases.

r? @alexcrichton
@bors bors merged commit a4128e5 into rust-lang:master May 1, 2016
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.

3 participants