about summary refs log tree commit diff
path: root/src/lib/test.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-353/+0
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-12/+12
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-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+2
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-10Cleanup unused importsHaitao Li-1/+0
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-1/+1
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-1/+1
Remove implicit copying hack. Closes #1118
2011-11-01Add should_fail annotation for unit testsMatt Brubeck-14/+23
This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails.
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-13/+13
Closes #1067
2011-10-24migrate sched_threads callNiko Matsakis-1/+1
2011-10-20Remove temporary fn# syntaxBrian Anderson-2/+2
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-5/+5
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-1/+1
Issue #1022
2011-10-20Convert the test runners to typesafe spawnBrian Anderson-58/+68
Issue #1022
2011-09-26stdlib: Fix typos in comments in lib/test.rsPatrick Walton-3/+3
2011-09-12Merge branch 'unwind'Brian Anderson-7/+0
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-18/+17
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-11Remove hack_allow_leaksBrian Anderson-7/+0
Happy to close the loop on this one. Issue #236
2011-09-02Reformat. Issue #855Brian Anderson-28/+21
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-6/+6
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-2/+2
2011-09-01Remove a few more istr conversions. Issue #855Brian Anderson-5/+5
2011-09-01Convert std::test to istrs. Issue #855Brian Anderson-14/+14
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-8/+7
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-11/+17
2011-08-27Convert std::getopts to istrs. Issue #855Brian Anderson-5/+7
2011-08-25Cleaning up task and comm exports, updating all the test cases.Eric Holk-2/+2
2011-08-23Resolve a number of FIXMEsBrian Anderson-2/+0
2011-08-20ReformatBrian Anderson-58/+44
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Rename various things from ivec to vecBrian Anderson-1/+0
2011-08-17Use the new task join methods in the test runner. Closes #826Brian Anderson-5/+8
It should report failures properly again
2011-08-17Remove more hacks from the test runnerBrian Anderson-9/+2
2011-08-17Simplify default_test_to_taskBrian Anderson-8/+4
Doesn't appear to require an unsafe pointer now
2011-08-17Restore test task setupBrian Anderson-4/+1
This is needed in order for the test runner to continue on failure, and I don't see that it causes any problems.
2011-08-17Using move-mode for spawn thunks to avoid race conditions.Eric Holk-1/+4
2011-08-17Purge vecs from the std::test interfaceBrian Anderson-5/+1
2011-08-16Port the stdlib to the typaram foo<T> syntax.Erick Tryzelaar-5/+5
2011-08-16Rename std::ivec to std::vecBrian Anderson-12/+12
2011-08-16Add and use an ivec interface to std::testBrian Anderson-5/+8
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-15Removed spawn and task from the parser. Updated all the tests except for the ↵Eric Holk-9/+10
benchmarks.
2011-08-12Remove vecs from std::getoptsBrian Anderson-2/+2
2011-08-12Rename std::termivec to std::termBrian Anderson-7/+7
2011-08-12Remove std::termBrian Anderson-7/+7
2011-08-12Remove vecs from std::sortBrian Anderson-1/+0
2011-08-12Rename std::ioivec to std::ioBrian Anderson-6/+6
2011-08-12Convert all uses of std::io to std::ioivecBrian Anderson-6/+6
2011-08-09Port the stdlib to the ivec type [T] syntax.Erick Tryzelaar-8/+8
2011-08-02Display the name of the test being waited for before the result is inBrian Anderson-1/+5
So the test runner displays the name of the test, then waits for it to finish, then displays the result. It worked this way before things were parallelized and it's just much friendlier this way.
2011-08-02Use color to report the final test result, even when running in parallelBrian Anderson-2/+3
After the tests are run there is no more parallelism, so it should be less likely that the control characters will introduce wierd artifacts.