about summary refs log tree commit diff
path: root/src/test/run-fail
AgeCommit message (Collapse)AuthorLines
2013-08-18auto merge of #8560 : kballard/rust/reserve-yield, r=pcwaltonbors-3/+3
Rename task::yield() to task::deschedule(). Fixes #8494.
2013-08-17Fix warnings it testsErick Tryzelaar-43/+73
2013-08-16Reserve 'yield' keywordKevin Ballard-3/+3
Rename task::yield() to task::deschedule(). Fixes #8494.
2013-08-15rm obsolete testDaniel Micay-44/+0
2013-08-13auto merge of #8497 : nikomatsakis/rust/improvements-to-object-coercion, ↵bors-0/+22
r=pcwalton While looking over the code for object coercion, I realized that it wasn't quite handling freezing and reborrowing correctly. Tweak the code, adding tests for the relevant cases. r? @pcwalton
2013-08-13Merge pull request #8432 from chris-morgan/remove-assert-eq-macro-fail-binaryGraydon Hoare-0/+0
Remove in-tree test binary.
2013-08-13Fix freezing of @mut Objects when passing as argumentNiko Matsakis-0/+22
2013-08-11tests: Add new tests for borrowck/objects and update some existing testsNiko Matsakis-0/+21
2013-08-10Remove in-tree test binary.Chris Morgan-0/+0
I presume this was accidentally committed.
2013-08-08auto merge of #8385 : cmr/rust/big-rollup, r=alexcrichtonbors-0/+0
This is a fairly large rollup, but I've tested everything locally, and none of it should be platform-specific. r=alexcrichton (bdfdbdd) r=brson (d803c18) r=alexcrichton (a5041d0) r=bstrie (317412a) r=alexcrichton (135c85e) r=thestinger (8805baa) r=pcwalton (0661178) r=cmr (9397fe0) r=cmr (caa4135) r=cmr (6a21d93) r=cmr (4dc3379) r=cmr (0aa5154) r=cmr (18be261) r=thestinger (f10be03)
2013-08-07Implement DoubleEndedIterator on RangeKevin Ballard-0/+0
Range is now invertable as long as its element type conforms to Integer. Remove int::range_rev() et al in favor of range().invert().
2013-08-07Disable linked failure testsBrian Anderson-0/+7
The implementation currently contains a race that leads to segfaults.
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-2/+2
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-08-03remove obsolete `foreach` keywordDaniel Micay-2/+2
this has been replaced by `for`
2013-08-03modified logging function to truncate output and adjusted error output ↵toddaaro-8/+8
formatting tests to be compatible with both the new and old runtimes
2013-08-02replace `range` with an external iteratorDaniel Micay-4/+2
2013-08-01auto merge of #8172 : brson/rust/nomorestack, r=pcwaltonbors-0/+4
The new scheduler does not yet implement split stacks
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-1/+1
Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead.
2013-07-31test: Disable morestack testsBrian Anderson-0/+4
The new scheduler does not yet implement split stacks
2013-07-28auto merge of #8069 : erickt/rust/maikklein, r=ericktbors-2/+2
Good evening, This is a superset of @MaikKlein's #7969 commit, that I've fixed up to compile. I had a couple commits I wanted to do on top of @MaikKlein's work that I didn't want to bitrot.
2013-07-27core: correct the casing of result::{Ok,Err} in the docsErick Tryzelaar-1/+1
2013-07-27to_either + fixesErick Tryzelaar-1/+1
2013-07-27Change concurrency primitives to standard naming conventionsSteven Stewart-Gallus-1/+1
To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()`
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/test/Birunthan Mohanathas-4/+4
2013-07-23test/run-fail: Un-xfail a test, make some other xfailed ones compile (they ↵Huon Wilson-9/+10
still don't work).
2013-07-21auto merge of #7923 : alexcrichton/rust/add-tests, r=graydonbors-0/+19
Closes #5275, #4547
2013-07-20librustc: Remove `pub extern` and `priv extern` from the language.Patrick Walton-3/+3
Place `pub` or `priv` on individual items instead.
2013-07-19Add tests for issues which can be closedAlex Crichton-0/+19
Closes #5275, $4547
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-5/+5
2013-07-17Clean-up tests after debug!/std-macros change.Huon Wilson-3/+3
The entire testsuite is converted to using info! rather than debug! because some depend on the code within the debug! being trans'd.
2013-07-10fix testCorey Richardson-1/+1
2013-07-04Convert vec::{as_imm_buf, as_mut_buf} to methods.Huon Wilson-2/+1
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-2/+2
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-25Change finalize -> drop.Luqman Aden-10/+10
2013-06-24remove old_iterDaniel Micay-1/+0
the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-1/+1
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-2/+6
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-3/+59
2013-05-27Change `alt` to `match` in filenames.Lindsey Kuper-0/+0
2013-05-22test: Update tests to use the new syntax.Patrick Walton-17/+17
2013-05-19auto merge of #6106 : thestinger/rust/iter, r=bstriebors-1/+1
I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to at least be renamed.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-6/+6
2013-05-18replace old_iter::repeat with the Times traitDaniel Micay-1/+1
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-2/+2
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-37/+37
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-09test: Add two tests for issue #6272.Niko Matsakis-0/+21
2013-05-09auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiynbors-1/+1
Hi there, Really enjoying Rust. Noticed a few typos so I searched around for a few more--here's some fixes. Ran `make check` and got `summary of 24 test runs: 4868 passed; 0 failed; 330 ignored`. Thanks! Sean
2013-05-08test: Fix tests.Patrick Walton-3/+3
2013-05-09Fix typosSean Moon-1/+1