Skip to content

test: Fix a spuriously failing test on valgrind #31781

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
merged 1 commit into from
Feb 20, 2016

Conversation

alexcrichton
Copy link
Member

It's unclear to me whether this test failing under valgrind is actually legit.
The test only fails in valgrind when everything is dynamically linked, and it
appears to work when statically linked.

For now just add the // no-prefer-dynamic directive and let's just chalk it up
to a weird valgrind issue.

Closes #31328

It's unclear to me whether this test failing under valgrind is actually legit.
The test only fails in valgrind when everything is dynamically linked, and it
appears to work when statically linked.

For now just add the `// no-prefer-dynamic` directive and let's just chalk it up
to a weird valgrind issue.

Closes rust-lang#31328
@rust-highfive
Copy link
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@aturon
Copy link
Member

aturon commented Feb 20, 2016

@bors: r+ p=100000

@bors
Copy link
Collaborator

bors commented Feb 20, 2016

📌 Commit 595d5b2 has been approved by aturon

bors added a commit that referenced this pull request Feb 20, 2016
It's unclear to me whether this test failing under valgrind is actually legit.
The test only fails in valgrind when everything is dynamically linked, and it
appears to work when statically linked.

For now just add the `// no-prefer-dynamic` directive and let's just chalk it up
to a weird valgrind issue.

Closes #31328
@bors
Copy link
Collaborator

bors commented Feb 20, 2016

⌛ Testing commit 595d5b2 with merge 54f3f2e...

@bors bors merged commit 595d5b2 into rust-lang:master Feb 20, 2016
@alexcrichton alexcrichton deleted the wtf-segfault branch February 25, 2016 22:56
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.

4 participants