Skip to content

rustpkg test always exits with status code 0 #9761

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

Closed
sfackler opened this issue Oct 8, 2013 · 1 comment · Fixed by #10254
Closed

rustpkg test always exits with status code 0 #9761

sfackler opened this issue Oct 8, 2013 · 1 comment · Fixed by #10254

Comments

@sfackler
Copy link
Member

sfackler commented Oct 8, 2013

BuildContext::test calls os::set_exit_status, but then main overrides that with a status of 0.

@ghost ghost assigned catamorphism Oct 15, 2013
@catamorphism
Copy link
Contributor

Good catch, shouldn't be too hard to fix.

bors added a commit that referenced this issue Nov 4, 2013
…hton

It previously set the exit status, but the main wrapper paved over that
with an exit code of 0.

Closes #9761
@bors bors closed this as completed in ff859ed Nov 4, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Nov 21, 2022
…Frednet

Changelog for Rust 1.65

Roses are red,
violets are blue,
another 6 weeks,
another changelog, yahoo!

This did not rhyme,
luckily, not a crime.
I want to say something smart,
but I am out of time.

---

Note for the reviewer. This PR is written, as if Rust was already released on 2022-11-03. Please review the changes and approve if you agree, but only merge it after the release. :)

---

changelog: none
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 a pull request may close this issue.

2 participants