about summary refs log tree commit diff
path: root/src/test/compiletest/compiletest.rs
AgeCommit message (Collapse)AuthorLines
2011-10-02Move compiletest to src/ and cleanup build rulesBrian Anderson-274/+0
2011-09-16Require body of else-less if expressions to be a value-less blockMarijn Haverbeke-2/+2
For consistency with other constructs that could not possibly return a value (say, loops).
2011-09-12Merge branch 'unwind'Brian Anderson-1/+2
Conflicts: src/comp/middle/trans.rs src/comp/middle/trans_build.rs src/lib/run_program.rs src/test/compiletest/runtest.rs
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-5/+5
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-14/+13
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
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-02Reformat. Issue #855Brian Anderson-80/+57
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-17/+17
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-4/+4
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-09-01Remove a few more istr conversions. Issue #855Brian Anderson-5/+5
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-2/+1
2011-09-01Remove various istr conversions. Issue #855Brian Anderson-1/+1
2011-09-01Convert std::test to istrs. Issue #855Brian Anderson-5/+3
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-33/+21
2011-08-30Convert compiletest to istrs. Issue #855Brian Anderson-44/+57
2011-08-27Convert std::getopts to istrs. Issue #855Brian Anderson-27/+27
2011-08-27Convert the task-comm parts of compiletest to istrs. Issue #855Brian Anderson-36/+74
This reduces the amount of voodoo in compiletest considerably.
2011-08-27Convert std::fs to istrs. Issue #855Brian Anderson-7/+11
2011-08-25Cleaning up task and comm exports, updating all the test cases.Eric Holk-11/+10
2011-08-20ReformatBrian Anderson-51/+43
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-17Use the new task join methods in the test runner. Closes #826Brian Anderson-10/+18
It should report failures properly again
2011-08-17Move some test setup from runtest to compiletestBrian Anderson-0/+2
2011-08-16Port the tests to the expr foo::<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-7/+7
2011-08-16Rename std::ivec to std::vecBrian Anderson-4/+4
2011-08-16Convert most main functions to the ivec signatureBrian Anderson-4/+2
Converting rustc will still take a snapshot
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-13/+22
benchmarks.
2011-08-12Remove std::vecBrian Anderson-1/+0
2011-08-12Remove vecs from std::getoptsBrian Anderson-2/+2
2011-08-09Change the ivec type syntax to [T].Erick Tryzelaar-2/+2
This preserves the old syntax for now.
2011-08-02Add xfail-pretty test directive. Issue #789Brian Anderson-1/+1
Indicates that this test should not be used to test the pretty-printer
2011-08-02Fix comment typo in compiletestBrian Anderson-1/+1
2011-08-02Pretty-print tests only run on .rs files. Issue #789Brian Anderson-5/+22
The pretty-printer can't handle .rc files currently
2011-08-02Introduce pretty-print testing mode to compiletest. Issue #789Brian Anderson-1/+8
2011-08-02Replace an open-coded conversion with ivec::from_vecBrian Anderson-6/+1
2011-08-02Move compiletest modules into separate filesBrian Anderson-587/+9
2011-08-01Ignore whitespace in argument lists in compiletestBrian Anderson-1/+20
Makes testing work with DEBUG=1
2011-07-29Fix long linesBrian Anderson-3/+3
2011-07-29Add issue numbers to FIXMEs in compiletestBrian Anderson-2/+2
2011-07-29Close pipes under failure scenario in compiletestBrian Anderson-1/+5
2011-07-29Get compile tests to run in parallelBrian Anderson-31/+86
Takes a lot of workarounds. The biggest problem is that boxes still don't seem to be moved across channels and bad things happen when the receiver destroys them. So there's all sorts of defensive cloning and scoping going on here to make the box lifetimes come out right.
2011-07-29Replace obj dtors with resources in stdlib and rustcMarijn Haverbeke-1/+1
2011-07-27Don't stop at first test failureBrian Anderson-1/+1
Since compiletest is setting up its own test tasks it needs to configure them the correct way, which means allowing them to leak.
2011-07-27Clean up output a bit when running verbose compile testsBrian Anderson-3/+7
2011-07-27Capture stderr when running compile tests. Closes #755Brian Anderson-42/+74
2011-07-27Refactor compiletestBrian Anderson-219/+248
2011-07-27Remove task::worker harderBrian Anderson-4/+4
2011-07-27Remove task::workerBrian Anderson-2/+10
It was too unsafe to live. It already apeared to be causing problems with eholk's incoming task changes, so I'm killing it now before it can spread.