about summary refs log tree commit diff
path: root/src/test
AgeCommit message (Collapse)AuthorLines
2011-09-13Be more strict about what constitutes a block expressionMarijn Haverbeke-3/+2
Blocks (or statements involving blocks) that end in a semicolon are no longer considered the block-expression of their outer block. This used to be an expression block, but now is a statement block: { if foo { ret 1; } else { ret 10; } } This helps clear up some ambiguities in our grammar.
2011-09-13Make for loop alias-safeMarijn Haverbeke-2/+10
2011-09-13Apply implicit copying for unsafe references to alt patternsMarijn Haverbeke-4/+10
2011-09-12Merge branch 'unwind'Brian Anderson-32/+268
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-12Rename alias to reference in docs and error messagesMarijn Haverbeke-4/+4
Update docs to reflect new approach to aliases
2011-09-12Properly implement copy expressionsMarijn Haverbeke-1/+12
(And use them in some places that were doing {expr} before.)
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-33/+34
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-294/+288
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-12Fix tests for new argument-passing conventionMarijn Haverbeke-27/+33
2011-09-11XFAIL bench/shootout-nbodyBrian Anderson-0/+1
This is the only file in the whole codebase that depends on the (broken) llvm native ABI.
2011-09-11Add an XFAILed test for native "llvm" modulesBrian Anderson-0/+10
This functionality is completely broken
2011-09-11Actually fail the process when compiletest has a test failureBrian Anderson-1/+2
We previously failed by coincidence because of memory leaks.
2011-09-11Add some more unwind testsBrian Anderson-0/+44
They worked without modifications, but I wrote them so we're keeping them. Issue #236
2011-09-11XFAIL run-pass/task-comm-15 on win32 againBrian Anderson-0/+1
Maybe it works with check-fast, but it stills fails for me
2011-09-11XFAIL some run-pass unwinding tests on win32Brian Anderson-0/+3
Curiously, because of some unfortunate interaction between win32 hacks, all the run-fail unwind tests actually pass (that wouldn't be the case if we were valgrinding though).
2011-09-11Add the ability to xfail tests by platformBrian Anderson-0/+5
We'll use this to xfail some unwinding tests on windows
2011-09-11Zero locals when the initializer might call a functionBrian Anderson-0/+7
The function might fail, leaving the local uninitialized Issue #236
2011-09-11Use a unique exit status when the runtime fails normallyBrian Anderson-4/+10
Check for it in run-fail tests
2011-09-11Invoke put functionsBrian Anderson-0/+12
Issue #236
2011-09-11Add an XFAILed test for failing destructorsBrian Anderson-0/+12
Issue #236
2011-09-11Remove the no-valgrind test directive now that unwinding is more workyBrian Anderson-16/+5
Issue #236
2011-09-11XFAIL run-fail/linked-failureBrian Anderson-0/+1
This test is hitting a bug in the runtime that makes it fail incorrectly and not valgrind-clean
2011-09-11Begin valgrinding some run-fail tests that unwind correctlyBrian Anderson-5/+0
Issue #236
2011-09-11Add a number of unwinding testsBrian Anderson-0/+130
Issue #236
2011-09-11Invoke upcall_failBrian Anderson-0/+6
This allows landing pads to be generated around fail statements Issue #236
2011-09-11Run cleanups during unwindingBrian Anderson-0/+10
Issue #236
2011-09-11Change the exit status used for valgrind errors and check for it in testsBrian Anderson-6/+2
2011-09-11Add a waitpid wrapper to std::run that interprets the exit status on unixBrian Anderson-0/+7
This makes the result of running a program a little more uniform between unix and windows
2011-09-09Make the pretty printer disambiguatae blocks followed by vec expressions.Jesse Ruderman-0/+2
Semicolons are needed here now that postfix [] is used for vec indexing (the syntax change made in rev 518dc52f85c2efb67aaa1208c02e9a7e0bdaca49).
2011-09-07Child tasks take a ref to their parentsBrian Anderson-0/+14
This is so that when a child dies after the parent, it still holds a valid pointer and can call supervisor->kill() safely.
2011-09-06Forbid blocks from deinitializing upvarsTim Chevalier-5/+8
Move expressions where the RHS is an upvar are now forbidden within block expressions.
2011-09-02Print the type of istrs as 'str' in error messages. Issue #855Brian Anderson-3/+3
2011-09-02Reformat. Issue #855Brian Anderson-1299/+1102
2011-09-02Eliminate const_refcount. Issue #855Brian Anderson-4/+0
2011-09-02Remove estrs and evecs from runtime. Issue #855Brian Anderson-0/+7
2011-09-02test: Add a test case for linearize_ty_params() and shapesPatrick Walton-0/+25
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-1/+1
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-61/+61
2011-09-01Make #fmt and #ifmt synonymous. Issue #855Brian Anderson-151/+151
2011-09-01Do less work in run-pass/task-comm.rsBrian Anderson-2/+2
This test is not important enough to be taking so long
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-235/+235
2011-09-01Fix the error-patterns in 2 cfail tests. Issue #855Brian Anderson-2/+2
2011-09-01Convert some comm tests to istrs. Issue #855Brian Anderson-8/+8
These spawn thunks need to take move-mode strings to be correct
2011-09-01Add a test that lambdas can't deinitialize upvarsTim Chevalier-0/+8
2011-09-01Remove std::str. Issue #855Brian Anderson-10/+1
2011-09-01Convert rust_list_files to istrs. Issue #855Brian Anderson-0/+11
2011-09-01No, not all fn constraints have the same args as the fn does, in the same ↵Tim Chevalier-0/+11
order... derp! Closes #862
2011-09-01Add a benchmark for cross-task kernel memory region synchronizationBrian Anderson-0/+28
Vectors are allocated from the kernel's memory region, which has some heinous synchronization. This is a stress test of vector allocation in many tasks.
2011-09-01Check error code in rust_file_is_dir. Prevent comparison of uninitialized memBrian Anderson-0/+5
2011-09-01Test for #876Tim Chevalier-0/+10
This is the test case for #876. Xfailed for now.