about summary refs log tree commit diff
path: root/src/compiletest
AgeCommit message (Collapse)AuthorLines
2013-05-14compiletest: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-217/+220
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-4/+4
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-11Warning policeTim Chevalier-1/+0
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-3/+3
2013-05-09Fix typosSean Moon-1/+1
2013-05-06auto merge of #6150 : yichoi/rust/arm-test-pull, r=brsonbors-7/+180
Support #5297 install.mk : install-runtime-target added for conveneice automatically push runtime library to android device test.mk : expanded to support android test automation with adb compiletest : expanded to support android test automation with adb
2013-05-04compiletest: remove --host and cleanupYoung-il Choi-144/+144
2013-05-04compiletest: fix decision rule to run and cleanupYoung-il Choi-18/+37
2013-05-02compiletest: configurable test dir for ARMYoung-il Choi-14/+17
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-7/+0
2013-05-01compiletest: stop ignoring all tests.Graydon Hoare-1/+1
2013-05-01remove some warningsErick Tryzelaar-3/+2
2013-05-01compiletest: fix to remove trailing whitespaceYoung-il Choi-1/+1
2013-05-01compiletest: expanded to ARM test automationYoung-il Choi-7/+158
2013-04-27only use #[no_core] in libcoreDaniel Micay-36/+0
2013-04-24Fixed typo... And a billion other things.Marvin Löbel-3/+4
2013-04-24Removed ascii functions from other modulesMarvin Löbel-1/+4
Replaced str::to_lowercase and str::to_uppercase
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-1/+1
2013-04-14test: remove unnecessary unsafe blocks/functionsAlex Crichton-37/+33
2013-04-10Bump version to 0.7-preBrian Anderson-2/+2
2013-04-09Bump version to 0.7-preBrian Anderson-2/+2
2013-04-03Fix compiletest on windowsBrian Anderson-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26librustc: Enforce that `extern mod` directives come first, then `use` ↵Patrick Walton-6/+7
directives, then items. Resolve them in this order as well.
2013-03-26option: rm functions that duplicate methodsDaniel Micay-3/+1
2013-03-26Fixed all use sites and testsMarvin Löbel-6/+11
2013-03-25Merge remote-tracking branch 'brson/rt'Brian Anderson-2/+16
Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs
2013-03-22libcore: Fix obsolete syntax in extfmtPatrick Walton-2/+2
2013-03-22auto merge of #5398 : dbaupp/rust/core-readlines, r=graydonbors-11/+11
The `each_line` function in `ReaderUtil` acts very differently to equivalent functions in Python, Ruby, Clojure etc. E.g. given a file `t` with contents `trailing\nnew line\n` and `n` containing `no trailing\nnew line`: Rust: ```Rust t: ~[~"trailing", ~"new line", ~""] n: ~[~"no trailing", ~"new line"] ``` Python: ```Python >>> open('t').readlines() ['trailing\n', 'new line\n'] >>> open('n').readlines() ['no trailing\n', 'new line'] ``` Ruby: ```Ruby irb(main):001:0> File.readlines('t') => ["trailing\n", "new line\n"] irb(main):002:0> File.readlines('n') => ["no trailing\n", "new line"] ``` Clojure ```Clojure user=> (read-lines "t") ("trailing" "new line") user=> (read-lines "n") ("no trailing" "new line") ``` The extra string that rust includes at the end is inconsistent, and means that it is impossible to distinguish between the "real" empty line a file that ends `...\n\n`, and the "fake" one after the last `\n`. The code attached makes Rust's `each_line` act like Clojure (and PHP, i.e. not including the `\n`), as well as adjusting `str::lines` to fix the trailing empty line problem. Also, add a convenience `read_lines` method to read all the lines in a file into a vector.
2013-03-23compiletest: Use lines_each instead of lines(..).each, or split(.., n).eachHuon Wilson-11/+11
2013-03-22compiletest: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-3/+3
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-4/+4
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-19compiletest: Make pretty tests actually use compile-flags.Luqman Aden-2/+3
2013-03-18Add a way to run the test suite with the new schedulerBrian Anderson-2/+16
TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in
2013-03-13auto merge of #5319 : brson/rust/debuginfo, r=brsonbors-2/+11
Continuing #5140 For the sake of getting this merged I've disabled debuginfo tests on mac (where running gdb needs root). Please feel free to follow up with further improvements.
2013-03-11Remove uses of logBrian Anderson-1/+1
2013-03-11More descriptive error messages for debug info testsBrian Leibig-2/+2
2013-03-11Debuginfo revampBrian Leibig-0/+9
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-03-05auto merge of #5212 : thestinger/rust/iter, r=graydonbors-2/+2
A small step towards fixing #2827
2013-03-04Remove unused imports throughout src/Alex Crichton-12/+0
2013-03-03replace option::iter with a BaseIter implDaniel Micay-2/+2
2013-03-02librustdoc: Remove `fn@`, `fn~`, and `fn&` from compiletest, fuzzer, ↵Patrick Walton-1/+1
rustdoc, and rt. rs=defun
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-36/+38
imports
2013-02-22auto merge of #5081 : brson/rust/pipes, r=pcwaltonbors-1/+1
r?
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-1/+1
2013-02-21Remove the last bits of structural records from tests/rustc/rusti/rustpkg.Luqman Aden-19/+20