summary refs log tree commit diff
path: root/src/compiletest
AgeCommit message (Collapse)AuthorLines
2012-07-11Fix some version numbers.Graydon Hoare-2/+2
2012-07-04Remove empty argument lists from do expressionsBen Striegel-2/+2
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-2/+2
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-07-01Convert to new closure syntaxBrian Anderson-22/+20
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-9/+9
2012-06-30change the test suite `//! kind` syntax to `//~ kind` in order to avoid aGareth Daniel Smith-2/+2
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-54/+55
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-45/+45
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-1/+1
2012-06-21Remove some singleton vector appends.Eric Holk-6/+6
2012-06-21Comment only: annotate FIXMETim Chevalier-1/+1
2012-06-20Remove bind. Issue #2189Brian Anderson-1/+1
2012-06-08core: Don't deadlock on io streams in run::program_outputBrian Anderson-0/+1
We can't just read all of stdout before stderr or it will cause deadlocks for children that want to write a lot to stderr I could not come up with an obvious cross-platform way to easily test this.
2012-06-05Have "aborting due to previous errors" message show an error countLindsey Kuper-1/+1
2012-06-04Make vecs implicitly copyable for all of our projects.Michael Sullivan-0/+2
2012-06-01compiletest: Add the libaux path to PATH on win32Brian Anderson-1/+5
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-05-03Fix compiletest::header::iter_header to work with new-style for loopsTim Chevalier-12/+10
Gets rid of a FIXME -- yay!
2012-04-27compiletest: Unbreak on Win32Brian Anderson-1/+1
2012-04-13add option exec-env to set env variables during test executionNiko Matsakis-30/+59
2012-04-10test: Build auxiliary libraries for each testHaitao Li-12/+35
Closes #2162
2012-04-06Re-rename option functionsTim Chevalier-1/+1
get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca
2012-04-06Remove support for old-style forMarijn Haverbeke-1/+4
Closes #1619
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-6/+6
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-05handle the case where multiple instances of same error are expected on the ↵Niko Matsakis-1/+2
same line
2012-04-05Explicitly use version 0.2 of cratesBrian Anderson-1/+6
2012-04-04Logfile output from tests; summarise in make checkGrahame Bowland-2/+13
Add an optional --logfile argument to std::test::test_main and to compiletest. Use this features and the new 'check-summary.py' script to summarise all the tests performed by the 'check' target. This is a short term fix for #2075.
2012-04-02Rename some core::option functionsTim Chevalier-1/+1
from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081
2012-04-01Fixing issue 1919. list_dir is the more general version that returns a ↵Jonathan Sternberg-1/+1
vector with the contents of the directory. list_dir_path contains the old behavior (as a convenience function).
2012-03-28Fix long line. release-0.2 0.2Graydon Hoare-1/+2
2012-03-28refactor so that pretty mode tests also run aux-build. Fixes #2060.Niko Matsakis-14/+27
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-27/+27
2012-03-17compiletest: Remove FIXME. Closes #1984Brian Anderson-3/+0
2012-03-15Associate FIXME with an issue in compiletest.rsTim Chevalier-2/+2
2012-03-15Use str::is_whitespace instead of dup'd is_whitespace functionTim Chevalier-7/+1
2012-03-15Associate FIXMEs with issue numbers (comments only)Tim Chevalier-0/+1
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-27/+15
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-02core: Remove _mut functions from vecBrian Anderson-1/+2
Instead, use vec::to_mut/from_mut to transform vectors in place as needed.
2012-03-02retool inline encoding to handle methods, fix testsNiko Matsakis-4/+9
2012-02-28add ability to run multi-crate tests, run tests with --inlineNiko Matsakis-20/+65
2012-02-23Finish cleanup of core::strMarijn Haverbeke-11/+9
Closes #1849
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-6/+4
2012-02-23(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes ↵Kevin Cantu-5/+5
with find[_from]
2012-02-20core: New task APIBrian Anderson-2/+2
2012-02-15Rewrite exhaustiveness checkerMarijn Haverbeke-1/+1
Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive.
2012-02-13(core::str) add find_bytes and export it...Kevin Cantu-13/+18
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-4/+4
2012-02-10use task::spawn_sched to read stdout and stderr at the same timeTed Horst-3/+26
Hopefully this addresses the root cause of the hangs when running make check on windows.
2012-02-10read stderr before stdoutTed Horst-1/+1
tests all write to stderr, so read stderr first to keep from blocking while reading stdout