summary refs log tree commit diff
path: root/src/test/run-fail
AgeCommit message (Collapse)AuthorLines
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-1/+1
tests accordingly.
2012-01-19Compute typestates for FRU exprs correctly, plus a bit of cleanupTim Chevalier-0/+5
The code in Issue 948 was causing typestate to diverge because it was using the prestate for the whole expression -- not the post- state for the fields list -- as the prestate for the record base expression. Fixed. Closes #948
2012-01-19test: "tag" -> "enum" in run-pass and run-failPatrick Walton-1/+1
2012-01-19Handle log expressions with a _|_-typed levelTim Chevalier-0/+4
If we have log(foo, quux) where foo:_|_, just translate foo and ignore the rest of the expression. Closes #1459
2012-01-19In trans, allow _|_-typed things to be the argument to failTim Chevalier-0/+4
Rationale: _|_-typed things diverge, so it's safe to use them in any context. Closes #1465
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-2/+2
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-13make "native fn" the type for bare functions, remove fn exprsNiko Matsakis-1/+1
2012-01-12libcore: Add sys::set_exit_statusBrian Anderson-0/+33
Sets the process exit code
2012-01-12Add type parameters when checking wildcard patternsTim Chevalier-0/+9
For some reason, wildcard patterns were never getting type parameter substitutions attached. This would cause an assertion failure when checking a wildcard pattern that matches against a tag with polymorphic type (not sure why this didn't come up before). Fixed it. (The diff and test case may be easier to understand than this note :P) Closes #1503.
2012-01-11rt: Add RUST_MAX_STACK env var with 8MB defaultBrian Anderson-0/+7
Closes #1489
2012-01-10rename sendfn to fn~, lambda to fn@Niko Matsakis-2/+3
2012-01-09Remove proto_sugar and 'lambda' as keyword, commit to fn@.Graydon Hoare-1/+1
2012-01-08make spawned fn copy mode so that bare fns can be usedNiko Matsakis-0/+11
2012-01-06update to use new spawn syntaxNiko Matsakis-22/+26
2012-01-05rustc: Allow the test runner to run unexported testsBrian Anderson-0/+13
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-3/+3
And remove support for the old syntax
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-6/+6
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-6/+12
#debug.
2011-12-20Add companion-module core.rs that exports log levels and option/some/none ↵Graydon Hoare-4/+0
everywhere.
2011-12-18libcore: Remove task::set_min_stackBrian Anderson-7/+0
This existed to make up for the lack of stack growth, and wasn't generally safe.
2011-12-18test: Enable all morestack testsBrian Anderson-8/+0
2011-12-17rt: Use a DWARF CFI scheme that works on mac in __morestackBrian Anderson-0/+28
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-34/+34
2011-12-11rt: Make unwinding through __morestack work on macBrian Anderson-3/+3
Had to bump the min stack size in some of the tests from 256 bytes to 1024 bytes. Not sure why yet.
2011-12-06rt: Various tweaks to make __morestack unwinding work on linuxBrian Anderson-2/+2
When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future.
2011-12-05test: More tests for unwinding + morestackBrian Anderson-3/+43
2011-12-05rt: Make stack unwinding work more correctly with stack growthBrian Anderson-0/+35
2011-11-29rt: Delete the entire stack chain on task destructionBrian Anderson-1/+2
Unwinding through __morestack on 64-bit Linux seems to be no big deal, and all we have to do is free the stacks to make unwinding work with split stacks.
2011-11-29Add --stack-growth to the morestack test compile flagsBrian Anderson-0/+1
2011-11-22rt: Make __morestack (without unwinding) work on 32-bit linuxBrian Anderson-0/+12
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-3/+3
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-11Rehabilitate run-fail/linked-failure4.rsBrian Anderson-10/+6
2011-11-11Fix run-fail/spawnfailBrian Anderson-4/+3
Catch the case where a parent is killed immediately before it terminates normally.
2011-11-03Update some more tests for 1a68a9882Marijn Haverbeke-1/+1
2011-10-28Move to short kind kinds words in test suiteMarijn Haverbeke-3/+3
Issue #1076
2011-10-25Properly take mutable object fields into account during alias analysisMarijn Haverbeke-9/+5
Closes #1055
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-3/+3
Closes #1067
2011-10-21Remove some semicolons after block callsMarijn Haverbeke-1/+1
The remaining ones can be removed after the next snapshot. (Or we can let the next pretty-print pass take care of them.)
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-12/+9
Issue #1056
2011-10-20Remove temporary fn# syntaxBrian Anderson-5/+5
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-5/+5
Issue #1022
2011-10-20Convert tests to use bare-fn spawnBrian Anderson-14/+10
Issue #1022
2011-10-10Adjust function signatures to allow for vecs being immediateMarijn Haverbeke-2/+2
Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021
2011-10-03XFAIL run-fail/linked-failure4. Deadlocks on macBrian Anderson-0/+1
2011-09-24Handle ~fail. Closes #968Brian Anderson-0/+2
2011-09-23Actually use unique boxes in run-fail/unwind-uniqueBrian Anderson-1/+1
2011-09-23Create a bunch of test cases for unique boxes by copying box testsBrian Anderson-0/+10
XFAIL the ones that don't work Issue #409
2011-09-22XFAIL spawnfail and task-comm-15Brian Anderson-0/+1
2011-09-21Add an unwind test for failure during unique box constructionBrian Anderson-0/+18
2011-09-21Add more unwind tests for failure during construction of allocated thingsBrian Anderson-0/+36