aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass
Commit message (Collapse)AuthorAgeFilesLines
* 'with' no longer a token; whitespace police.Lindsey Kuper2011-05-131-0/+1
| | | | | Plus renaming the anonymous objects test to a more descriptive name, and XFAILing it because it doesn't work yet.
* Bug fixes.Lindsey Kuper2011-05-131-1/+1
| | | | | Fixed infinite loop on anonymous objects in parser; added expr_anon_obj to walk.rs; fixed syntax of test case.
* More progress on anonymous objects.Lindsey Kuper2011-05-131-2/+8
| | | | Still segfaulting on the method-overriding.rs test, though.
* Starting on support for anonymous objects. Just syntax so far.Lindsey Kuper2011-05-131-0/+26
|
* Make module indices hold a list of itemsMarijn Haverbeke2011-05-131-0/+13
| | | | | This way, they can support having both a type and a value of the same name.
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-1257-491/+491
| | | | This should be a snapshot transition.
* Reuse a single work buffer every time the SHA1 message block is processed.Brian Anderson2011-05-111-6/+4
| | | | | | This finally allows the full lib-sha1 test to run in a reasonable amount of time. Was 30s, now 3s. Trims a second or two from stage2/rustc. XFAIL lib-sha1 in stage0 since it will be very slow until the next snapshot.
* Introduce str_slice runtime functionBrian Anderson2011-05-111-0/+34
| | | | | | | This reduces the time to execute the new lib-str tests from 1:40ish to a few seconds and will eventually allow the full lib-sha1 test to run in a reasonable amount of time. XFAIL lib-str in stage0 - it will run very slowly until the next snapshot.
* Un-XFAIL syntax-extension-fmt.rsBrian Anderson2011-05-101-3/+0
|
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-0634-438/+438
| | | | (Have fun mergining your stuff with this.)
* Add quick sort function to the std lib.Kelly Wilson2011-05-051-0/+62
|
* Test cases for pred / check stuffTim Chevalier2011-05-052-3/+12
|
* Remove 'deprecated mutable...' from our codeMarijn Haverbeke2011-05-052-5/+5
| | | | This should make compilation a bit less noisy.
* Return a fresh, unreachable context after ret, break, and contMarijn Haverbeke2011-05-051-4/+0
| | | | | | | | | This ensures we don't get compile errors on unreachable code (see test/run-pass/artificial-block.rs for an example of sane code that wasn't compiling). In the future, we might want to warn about non-trivial code appearing in an unreachable context, and/or avoid generating unreachable code altogether (though I'm sure LLVM will weed it out as well).
* extend xfail-stage0 to stage1, stage2 on obj-dtor-2.rsGraydon Hoare2011-05-041-1/+3
|
* Assume xfail-stage0 implies stage1 and stage2 in tests, for now.Graydon Hoare2011-05-0359-0/+118
|
* Add some tests of tag-export interactionBrian Anderson2011-05-022-0/+31
|
* Revert "Use check instead of assert in export-unexported-dep"Brian Anderson2011-05-021-1/+1
| | | | | This reverts commit 480eda0f10fabd6e76a30c91df1d84740d6f81cc. The commit adding the assert keyword has been restored.
* rustc: Remove the artificial block in ty.rs. Fixes self-hosting. Add a test ↵Patrick Walton2011-05-021-0/+12
| | | | case for this, XFAIL'd.
* Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton2011-05-02143-688/+688
| | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
* Use check instead of assert in export-unexported-depBrian Anderson2011-05-021-1/+1
|
* Revert "Use different syntax for checks that matter to typestate"Graydon Hoare2011-05-02143-688/+688
| | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
* Add a regression test that exports can expose unexported itemsBrian Anderson2011-05-021-0/+24
| | | | | While those unexported items can't be used by name outside the module in which they are defined, they can be used as a sort of ADT.
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-02143-688/+688
| | | | | | | | | | This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
* Implement simple module exportBrian Anderson2011-05-012-0/+37
|
* Fix expr-alt-generic-box2.rs and un-XFAILBrian Anderson2011-05-011-2/+1
|
* Un-XFAIL various tests in stage0Brian Anderson2011-05-012-2/+0
|
* Re-XFAIL lib-io.rs, not quite working yet.Graydon Hoare2011-04-291-0/+1
|
* Un-XFAIL most library tests.Graydon Hoare2011-04-2917-18/+0
|
* rustc: Fix vec append glue for strings. Add a test case.Patrick Walton2011-04-281-0/+14
|
* rustc: Add some value names to the vec append glue function. Un-XFAIL ↵Patrick Walton2011-04-281-2/+0
| | | | vec-growth.rs.
* test: Add a test case for vec growthPatrick Walton2011-04-281-0/+15
|
* Consider unop deref as an lval. Un-XFAIL vec-push.Graydon Hoare2011-04-281-3/+1
|
* rustc: Add a testcase for vector push (mutable aliases with *, really)Patrick Walton2011-04-281-0/+11
|
* Change vec-ref-count to handle 1 or 2, so long as non-leaky and ↵Graydon Hoare2011-04-281-4/+5
| | | | non-creeping. un-XFAIL.
* test: Add a test for vector reference counts, XFAIL'd in rustcPatrick Walton2011-04-281-0/+11
|
* Fix some nested patterns in rustcTim Chevalier2011-04-281-0/+29
| | | | | | In rustc, nested patterns were potentially matching when they shouldn't match, because a loop index wasn't being incremented. Fixed it and added one test case.
* Fix bug in handling of expr_alt (postcond for alts was being intersected ↵Tim Chevalier2011-04-281-0/+34
| | | | with postcond for scrutinee)
* Further work on typestate_checkTim Chevalier2011-04-282-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lots of work on typestate_check, seems to get a lot of the way through checking the standard library. * Added for, for_each, assign_op, bind, cast, put, check, break, and cont. (I'm not sure break and cont are actually handled correctly.) * Fixed side-effect bug in seq_preconds so that unioning the preconditions of a sequence of statements or expressions is handled correctly. * Pass poststate correctly through a stmt_decl. * Handle expr_ret and expr_fail properly (after execution of a ret or fail, everything is true -- this is needed to handle ifs and alts where one branch is a ret or fail) * Fixed bug in set_prestate_ann where a thing that needed to be mutated wasn't getting passed as an alias * Fixed bug in how expr_alt was treated (zero is not the identity for intersect, who knew, right?) * Update logging to reflect log_err vs. log * Fixed find_locals so as to return all local decls and exclude function arguments. * Make union_postconds work on an empty vector (needed to handle empty blocks correctly) * Added _vec.cat_options, which takes a list of option[T] to a list of T, ignoring any Nones * Added two test cases.
* Fix the interaction between various flags in #fmtBrian Anderson2011-04-261-2/+17
|
* Support octal #fmt conversionsBrian Anderson2011-04-261-0/+11
|
* Make #fmt char conversions behave like printfBrian Anderson2011-04-261-2/+5
|
* Fix busted iter/put code. Un-XFAIL foreach-box-drop.rs.Graydon Hoare2011-04-231-2/+0
|
* New minimal test for current stage2 blocker.Graydon Hoare2011-04-221-0/+17
|
* test: Un-XFAIL drop-parametric-closure-with-bound-box.rs, oops.Patrick Walton2011-04-211-2/+0
|
* test: XFAIL lib-box on stage0. Upstream LLVM doesn't have the library ↵Patrick Walton2011-04-212-0/+4
| | | | reading patch yet.
* stdlib: Add a pointer equality function to the standard library and a test casePatrick Walton2011-04-211-0/+12
|
* Fix #335, log context needs to be a scope to capture cleanups.Graydon Hoare2011-04-201-0/+6
|
* Add testcase for bootstrap blocker and fix for each result type to nil.Graydon Hoare2011-04-191-0/+22
|
* Un-XFAIL a few recently passing tests.Graydon Hoare2011-04-196-8/+0
|