diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-10-10 13:48:11 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-10-11 17:15:52 -0700 |
| commit | 7472bae5e76918bad5904c31e43b4237c015d6a5 (patch) | |
| tree | aadd51184b04985cc41269bacfd08530bfc0fea2 /src/rt/sync/rust_thread.cpp | |
| parent | 80878ff369cabc63967a6ebfd69f3e5fa692ceff (diff) | |
| download | rust-7472bae5e76918bad5904c31e43b4237c015d6a5.tar.gz rust-7472bae5e76918bad5904c31e43b4237c015d6a5.zip | |
rustpkg: Set exit codes properly and make tests take advantage of that
When I started writing the rustpkg tests, task failure didn't set the exit code properly. But bblum's work from July fixed that. Hooray! I just didn't know about it till now. So, now rustpkg uses exit codes in a more conventional way, and some of the tests are simpler. The bigger issue will be to make task failure propagate the error message. Right now, rustpkg does most of the work in separate tasks, which means if a task fails, rustpkg can't distinguish between different types of failure (see #3408)
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
