| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-07-26 | Remove all uses of tuples from the compiler and stdlib | Marijn Haverbeke | -152/+169 | |
| 2011-07-25 | Run test tasks in parallel according to RUST_THREADS. Issue #734 | Brian Anderson | -31/+78 | |
| 2011-07-25 | Fix signature and add string_reader to ioivec. | Graydon Hoare | -1/+5 | |
| 2011-07-25 | Remove some rustboot-isms | Marijn Haverbeke | -13/+5 | |
| Closes #464 | ||||
| 2011-07-24 | Add task::send and task::recv | Brian Anderson | -0/+8 | |
| 2011-07-24 | Add task::worker. Spawns a task and returns a channel to it | Brian Anderson | -0/+70 | |
| It takes a lot of boilerplate to create a task and establish a way to talk to it. This function simplifies that, allowing you to write something like 'worker(f).chan <| start'. Implementation is very unsafe and only works for a few types of channels, but something like this is very useful. | ||||
| 2011-07-24 | The Big Test Suite Overhaul | Brian Anderson | -2/+3 | |
| This replaces the make-based test runner with a set of Rust-based test runners. I believe that all existing functionality has been preserved. The primary objective is to dogfood the Rust test framework. A few main things happen here: 1) The run-pass/lib-* tests are all moved into src/test/stdtest. This is a standalone test crate intended for all standard library tests. It compiles to build/test/stdtest.stageN. 2) rustc now compiles into yet another build artifact, this one a test runner that runs any tests contained directly in the rustc crate. This allows much more fine-grained unit testing of the compiler. It compiles to build/test/rustctest.stageN. 3) There is a new custom test runner crate at src/test/compiletest that reproduces all the functionality for running the compile-fail, run-fail, run-pass and bench tests while integrating with Rust's test framework. It compiles to build/test/compiletest.stageN. 4) The build rules have been completely changed to use the new test runners, while also being less redundant, following the example of the recent stageN.mk rewrite. It adds two new features to the cfail/rfail/rpass/bench tests: 1) Tests can specify multiple 'error-pattern' directives which must be satisfied in order. 2) Tests can specify a 'compile-flags' directive which will make the test runner provide additional command line arguments to rustc. There are some downsides, the primary being that Rust has to be functioning pretty well just to run _any_ tests, which I imagine will be the source of some frustration when the entire test suite breaks. Will also cause some headaches during porting. Not having individual make rules, each rpass, etc test no longer remembers between runs whether it completed successfully. As a result, it's not possible to incrementally fix multiple tests by just running 'make check', fixing a test, and repeating without re-running all the tests contained in the test runner. Instead you can filter just the tests you want to run by using the TESTNAME environment variable. This also dispenses with the ability to run stage0 tests, but they tended to be broken more often than not anyway. | ||||
| 2011-07-22 | More work on word-count. | Eric Holk | -0/+8 | |
| Updated the MapReduce protocol so that it's correct more often. It's still not perfect, but the bugs repro less often now. Also found a race condition in channel sending. The problem is that send and receive both need to refer to the _unread field in circular_buffer. For now I just grabbed the port lock to send. We can probably get around this by using atomics instead. | ||||
| 2011-07-22 | Print a list of test failures in the test summary. Issue #428 | Brian Anderson | -0/+10 | |
| 2011-07-21 | Use correct win file open constants, per MinGW | Brian Anderson | -6/+6 | |
| 2011-07-21 | Add some support for using a map like a set. | Michael Sullivan | -2/+15 | |
| 2011-07-20 | rustc: Implement ptr_eq in Rust. Shaves 4 s off compile time. | Patrick Walton | -4/+4 | |
| 2011-07-20 | Add a huge hack to allow the test runner to continue if a single task leaks | Brian Anderson | -0/+14 | |
| This is just until unwinding works. Adds a flag to the runtime to turn the memory leak checks on task destruction into warnings instead of fatal errors. I am so sorry. Issue #428 | ||||
| 2011-07-20 | Test runner should fail if any tests fail. Issue #428 | Brian Anderson | -2/+3 | |
| 2011-07-19 | Fix color term detection in std::termivec | Brian Anderson | -1/+1 | |
| Pretty error messages to be restored | ||||
| 2011-07-19 | Avoid double-closing pipes in std::run::start_program | Brian Anderson | -4/+13 | |
| Linux and mac seem fine with it, Windows does not | ||||
| 2011-07-19 | Refactor std::run | Brian Anderson | -9/+16 | |
| 2011-07-19 | Fix an invalid memory access in run_program and friends | Brian Anderson | -4/+8 | |
| 2011-07-18 | Add str::replace | Brian Anderson | -0/+17 | |
| 2011-07-18 | Add str::is_empty, is_not_empty preds | Brian Anderson | -0/+12 | |
| 2011-07-18 | Fix qsort to not skip the right side when the pivot element gets put at index 0. | Michael Sullivan | -4/+8 | |
| Closes #705. | ||||
| 2011-07-18 | Add setenv to standard library | Brian Anderson | -2/+52 | |
| 2011-07-17 | Revert "Add setenv to standard library" | Brian Anderson | -48/+2 | |
| This reverts commit 6fb168b3dbd733f6fccebd01c2e5416f800a5566. | ||||
| 2011-07-17 | Add setenv to standard library | Brian Anderson | -2/+48 | |
| 2011-07-16 | Sort tests before running them. Issue #428 | Brian Anderson | -0/+12 | |
| 2011-07-16 | Add std::ivec::to_mut, from_mut | Brian Anderson | -0/+16 | |
| 2011-07-16 | Add ivec::zip/unzip | Brian Anderson | -0/+26 | |
| 2011-07-15 | Refactor std::test | Brian Anderson | -16/+8 | |
| 2011-07-15 | Run test functions in isolated tasks. Issue #428 | Brian Anderson | -2/+21 | |
| Each test is run in its own task so that the failure can be trapped and the test runner can continue. The easiest way to get the test functions into tasks currently is by treating them as unsafe pointers. | ||||
| 2011-07-15 | Remove task_unsupervise from rt builtin functions | Brian Anderson | -2/+2 | |
| This was an exact duplicate of the unsupervise function | ||||
| 2011-07-15 | Modify task::join to indicate how the task terminated | Brian Anderson | -3/+11 | |
| This involves sticking yet another field into the task structure | ||||
| 2011-07-14 | Add an unsupervise builtin and function to std::task | Brian Anderson | -0/+5 | |
| Calling task::unsupervise de-parents the current task, with the result that failures do not propogate up the task tree. | ||||
| 2011-07-14 | Add a flag to run ignored tests. Issue #428 | Brian Anderson | -22/+79 | |
| 2011-07-14 | Add head and tail functions to std::ivec | Brian Anderson | -0/+10 | |
| They even have typestate preconditions | ||||
| 2011-07-14 | Add is_empty, is_not_empty preds to std::ivec | Brian Anderson | -0/+20 | |
| 2011-07-14 | Add a facility for ignoring tests. Issue #428 | Brian Anderson | -17/+52 | |
| Adding the #[ignore] attribute will cause the test not to be run, though it will still show up in the list of tests. | ||||
| 2011-07-14 | The test runner's main returns unit, not int. Issue #428 | Brian Anderson | -5/+3 | |
| The appropriate way to indicate failure from main is to fail. | ||||
| 2011-07-13 | Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases. | Graydon Hoare | -4/+4 | |
| 2011-07-13 | Feeble attempt at putting out the win tinderbox | Marijn Haverbeke | -2/+2 | |
| 2011-07-12 | stdlib: Fix vector index in linux_os::waitpid. Put out burning tinderbox. | Patrick Walton | -1/+1 | |
| 2011-07-12 | stdlib: Make pipe and waitpid use interior vectors | Patrick Walton | -20/+20 | |
| 2011-07-12 | stdlib: Port most of getopts over to interior vectors | Patrick Walton | -28/+46 | |
| 2011-07-12 | stdlib: Add interior vector methods to sha1 | Patrick Walton | -17/+32 | |
| 2011-07-12 | stdlib: Implement ivec::count | Patrick Walton | -0/+6 | |
| 2011-07-12 | Improve test runner summary message. Issue #428 | Brian Anderson | -2/+8 | |
| 2011-07-12 | stdlib: Use the right upcall in win32_fs. Maybe puts out burning tinderbox? | Patrick Walton | -1/+3 | |
| 2011-07-12 | stdlib: Implement str::split_ivec() | Patrick Walton | -0/+15 | |
| 2011-07-12 | stdlib: Move fs over to interior vectors by introducing a ↵ | Patrick Walton | -6/+8 | |
| rust_list_files_ivec builtin | ||||
| 2011-07-12 | stdlib: Port std::either over to interior vectors | Patrick Walton | -11/+11 | |
| 2011-07-12 | stdlib: Switch lib::deque over to interior vectors | Patrick Walton | -24/+28 | |
