about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-10-06Add std::str::containsBrian Anderson-0/+11
2011-10-05Fix some path handling in std::fs on win32Brian Anderson-0/+16
2011-10-04Add std::os::get_exe_pathBrian Anderson-0/+15
Need this to correctly determine sysroot in rustc
2011-10-04Hide unused variable warnings in stdtest::treemapBrian Anderson-2/+2
2011-10-04Add std::fs::normalizeBrian Anderson-0/+77
2011-10-04Add std::fs::splitBrian Anderson-0/+36
2011-10-03XFAIL run-fail/linked-failure4. Deadlocks on macBrian Anderson-0/+1
2011-10-02Move compiletest to src/ and cleanup build rulesBrian Anderson-1053/+0
2011-09-29Teach compiletest to construct the PATH variable correctly on win32Brian Anderson-1/+10
2011-09-29Move closure construction over to DPS styleMarijn Haverbeke-0/+4
Issue #667
2011-09-28Test cases for #985Brian Anderson-0/+42
Other restrictions on pinned kinds happened to fix this Closes #985
2011-09-28Don't allow vectors of pinned kindsBrian Anderson-0/+11
Vectors of pinned kinds can't be safe because most interesting uses of vector perform copies
2011-09-28Make error patterns in some kind tests more specificBrian Anderson-5/+5
2011-09-28xfail-fast run-pass/alt-range.rsBrian Anderson-0/+2
2011-09-28Revert "Revert "Implement pattern ranges for all numeric types.""Brian Anderson-0/+87
This reverts commit a034f87146e60e1db2327c6f6807c47406a1bb0b. Conflicts: src/comp/middle/check_alt.rs src/comp/middle/trans_alt.rs src/comp/syntax/ast.rs src/comp/syntax/ast_util.rs src/comp/syntax/fold.rs src/comp/syntax/print/pprust.rs Conflicts: src/comp/middle/trans_alt.rs
2011-09-27Patch to error instead of crashing when parsing unmatched double quotesWade Mealing-0/+8
Patch to error and fail instead of using all available memory then crashing to detect the error condition of an unmatched double quote before the end of a file. I couldn't get it to show nice error messages, so this may not be the ideal fix. A test case for this situation has also been added.
2011-09-27Make it again possible to initialize resource locals via assignmentBrian Anderson-20/+18
Some special cases allow both 'let a <- my_resource(x)' and 'let a = my_resource(x)' to work as expected despite ostensibly being copies and moves.
2011-09-27Prevent copies of resources into various thingsBrian Anderson-12/+94
2011-09-27Add xfailed tests that resources can't be copied into various thingsBrian Anderson-0/+68
2011-09-27Don't ever raise unique kinds of pinned kinds to shared (again)Brian Anderson-9/+7
So *resource, ~resource, [resource] are all pinned. This is counter to the design of the kind system, but this way is a much clearer path to type safety. Once we've established a good baseline with lots of tests, then we can try to make raising pinned kinds work.
2011-09-27Add an xfailed test for bogus deep copying of things containing resourcesBrian Anderson-0/+16
2011-09-27Add an xfailed test for bogus vector addition of typaramsBrian Anderson-0/+21
2011-09-27Test for #924Jesse Ruderman-1/+16
2011-09-26Add two xfailed tests for invalid copies into vectorsBrian Anderson-0/+36
2011-09-26xfail-win32 -> xfail-fastBrian Anderson-1/+1
2011-09-26Try to appease windows by xfail-win32'ing a random testBrian Anderson-0/+2
2011-09-26Test for issue #980Brian Anderson-0/+13
2011-09-26Enforce copy restrictions on let initializersBrian Anderson-16/+45
2011-09-26Make some nocopy tests a bit more futureproofBrian Anderson-4/+4
Turn the let assignment initializers into move initializers since that assignment is going to become illegal
2011-09-26Prevent copying of uncopyable things via the copy opBrian Anderson-0/+10
2011-09-26Prevent copying of uncopyable things via compound assignment opsBrian Anderson-0/+9
2011-09-26Don't allow vectors of pinned kinds to be copiedBrian Anderson-0/+10
2011-09-26Don't allow copying of unique boxes of pinned kindsBrian Anderson-1/+0
Issue #409
2011-09-26Add a test that unique boxes in vectors are copied when the vector isBrian Anderson-0/+13
Issue #409
2011-09-26rt: Turn on cycle collection at task death; add a test casePatrick Walton-0/+14
2011-09-26Fix tags of unique boxesBrian Anderson-1/+47
Issue #409
2011-09-26Unique vectors and boxes of pinned are unique kinds. Closes #977Brian Anderson-3/+1
2011-09-26test: Fix more typos in weird-exprs.rs.Patrick Walton-1/+1
2011-09-26test: wierd-exprs -> weird-exprsPatrick Walton-0/+0
2011-09-25Enable hammertimeJesse Ruderman-3/+1
2011-09-25Test for #973Jesse Ruderman-0/+4
2011-09-25Test for #942Jesse Ruderman-0/+2
2011-09-25Remove FIXME test that's covered by run-pass/unreachable-code.rsJesse Ruderman-6/+0
2011-09-24Handle ~fail. Closes #968Brian Anderson-0/+2
2011-09-24Add a test for assignment of unique boxes of genericsBrian Anderson-0/+6
Closes #976 Issue #409
2011-09-24Support non-immediates in trans_uniq::copy_valBrian Anderson-5/+9
Issue #409
2011-09-24Don't iloop (future-proof test against improved reachability computations)Jesse Ruderman-1/+1
2011-09-24Remove irrelevant parts of testJesse Ruderman-4/+0
2011-09-24Tweak random thing to make windows build succeed. Awesome.Brian Anderson-1/+1
So, a recent commit made syntax-extension-fmt fail under check-fast. This commit disables lots-a-fail under check-fast and voila! *grumble*
2011-09-24Move a previous run-pass test for kind-lowered unique boxes to compile-failBrian Anderson-5/+3
This test tries to swap unique boxes containing resources, which is not allowed. Issue #409