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-pass/bind-native-fn.rs exits with unexpected status on FreeBSD #2522

Closed
crabtw opened this issue Jun 7, 2012 · 3 comments
Closed

run-pass/bind-native-fn.rs exits with unexpected status on FreeBSD #2522

crabtw opened this issue Jun 7, 2012 · 3 comments
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Milestone

Comments

@crabtw
Copy link
Contributor

crabtw commented Jun 7, 2012

run-pass/bind-native-fn.rs writes data to stdin, however, the pipe end is closed in the run function of compiletest/procsrv.rs. That causes testcase to exit with status 1 on FreeBSD.

@catamorphism
Copy link
Contributor

@crabtw I'm a bit confused -- did your pull request (which I just merged) fix this bug? (It's easier for me to ask than test, not having a FreeBSD machine on my desktop :-)

@crabtw
Copy link
Contributor Author

crabtw commented Jun 7, 2012

@catamorphism Sorry, I did not explain clearly. That request was for #1825. In order to test that patch, I removed bind-native-fn test from my local tree to avoid test failure.

After seeing the log of buildbot, I find that bind-native-fn test does not fail on buildbot. #2325 and #2520 are in similar situation. They happen on buildbot but my machine does not.

@catamorphism
Copy link
Contributor

@crabtw Ok -- since the test passes on buildbot, I'm going to close this; however, if you figure out a way to reproduce it (on a FreeBSD machine other than yours :-) feel free to reopen this or open a new issue.

celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
This ensures that benchcomp does not crash even if no
number_program_steps metric was recorded for a kani perf benchmark,
perhaps because Kani crashed or timed out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc
Projects
None yet
Development

No branches or pull requests

2 participants