summary refs log tree commit diff
path: root/src/compiletest
AgeCommit message (Collapse)AuthorLines
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
2012-02-10log to stderr instead of stdoutTed Horst-2/+2
includes rustc diagnostics runtest updated to check stderr for errors
2012-02-08Suppress warnings in compiletestMarijn Haverbeke-1/+1
2012-02-07Make process-spawning take environments and working directories, remove ↵Graydon Hoare-226/+96
procsrv task from compiletest.
2012-02-07String split renaming:Kevin Cantu-4/+4
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-06Revert "log to stderr instead of stdout"Brian Anderson-2/+2
This is causing mysterious hangs on windows. Issue #1769. This reverts commit d65eabd5de4c41e4bc93b9c6c03d6278299ceb76.
2012-02-03log to stderr instead of stdoutTed Horst-2/+2
includes rustc diagnostics runtest updated to check stderr for errors
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-3/+3
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 3Kevin Cantu-5/+5
2012-01-31Change option::t to optionTim Chevalier-18/+18
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-25Replacing str::unsafe_from_bytes with str::from_bytes (part 2)Kevin Cantu-4/+4
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-21issue #1352: change param order on vec::init_elt, putting block in final ↵Graham Fawcett-1/+1
position. To match the init_fn() and init_fn_mut() changes.
2012-01-19misc: ';' to ',' in enums in cargo, compiletest, and fuzzerPatrick Walton-2/+2
2012-01-19libcore: Use 4x the number of scheduler threads for testingBrian Anderson-1/+0
An arbitrary number. I've done no measurements but it's intended to overcome the effects of tasks randomly being scheduled to threads and no work stealing. If scheduler threads == 1 then we just use a single test task.
2012-01-19misc: "tag" -> "enum" for cargo, compiletest, fuzzer, rustdocPatrick Walton-2/+2
2012-01-19Use fn~ to simplify the core::test interfaceBrian Anderson-34/+18
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-19/+19
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17Update crates with correct crate_type attributeBrian Anderson-0/+2
2012-01-11Major clean-up of std::ioMarijn Haverbeke-14/+7
Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code.
2012-01-06port over the tests to use the new APINiko Matsakis-16/+15
2012-01-04make scanning more efficient by avoiding recomputationNiko Matsakis-4/+7
2012-01-04extend tester so that error msgs can be attached to linesNiko Matsakis-3/+122
2012-01-01freebsd supportUser Jyyou-0/+4
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-1/+1
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-2/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-6/+6
#debug.
2011-12-18std: getopts now uses result::t (fixes #1289)Stefan Plantikow-2/+5
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-27/+28