summary refs log tree commit diff
path: root/src/compiletest/compiletest.rs
AgeCommit message (Collapse)AuthorLines
2013-09-19Turned extra::getopts functions into methodsMarvin Löbel-27/+25
Some minor api and doc adjustments
2013-09-18std: Remove {float,f64,f32}::from_str in favor of from_strblake2-ppc-2/+1
Like issue #9209, remove float::{from_str, from_str_radix} in favor of the two corresponding traits. The same for modules f64 and f32. New usage is from_str::<float>("1.2e34")
2013-09-12std: rename Option::unwrap_or_default() to unwrap_or()Erick Tryzelaar-1/+1
2013-09-04Update clients of path.rs to use new API.Felix S. Klock II-2/+3
In most cases this involved removing a ~str allocations or clones (yay), or coercing a ~str to a slice. In a few places, I had to bind an intermediate Path (e.g. path.pop() return values), so that it would live long enough to support the borrowed &str. And in a few places, where the code was actively using the property that the old API returned ~str's, I had to put in to_owned() or clone(); but in those cases, we're trading an allocation within the path.rs code for one in the client code, so they neutralize each other.
2013-09-02Raise the file descriptor limits when running compiletestAlex Crichton-0/+5
We already do this for libstd tests automatically, and compiletest runs into the same problems where when forking lots of processes lots of file descriptors are created. On OSX we can use specific syscalls to raise the limits, in this situation, though. Closes #8904
2013-08-30auto merge of #8886 : cmr/rust/test-restructure, r=cmrbors-18/+16
2013-08-30Revert "Teach compiletest to use multiple --src-base's"Corey Richardson-18/+16
This reverts commit 8a07f5708196dd72ec030018c2a215a4dd823b2e.
2013-08-30Revert "Teach the makefile to use multiple src-base's"Corey Richardson-1/+1
This reverts commit 43f851d2cb3976655078f032dc1a8cb88f1c8deb.
2013-08-30auto merge of #8839 : sanxiyn/rust/env, r=thestingerbors-3/+0
2013-08-28Remove --newrt optionSeo Sanghyeon-3/+0
2013-08-28Teach the makefile to use multiple src-base'sCorey Richardson-1/+1
2013-08-28Teach compiletest to use multiple --src-base'sCorey Richardson-16/+18
2013-08-23test: add support for sharding testsuite by passing --test-shard=a.bGraydon Hoare-0/+7
2013-08-07core: option.map_consume -> option.map_moveErick Tryzelaar-7/+7
2013-08-06auto merge of #8313 : msullivan/rust/cleanup, r=catamorphismbors-1/+0
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-3/+3
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-08-05Get rid of some NOTEs.Michael Sullivan-1/+0
2013-08-03remove obsolete `foreach` keywordDaniel Micay-3/+3
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-3/+3
2013-07-30Do not enforce two newlines after the optionsJordi Boggiano-0/+2
2013-07-21Remove what appears to be redundant indirection fromGareth Smith-5/+5
os::list_dir_path.
2013-07-17compiletest: Remove stray copies.Patrick Walton-4/+4
2013-07-17test: Fix tests.Patrick Walton-19/+1
2013-07-17test: Fix tests.Patrick Walton-0/+18
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-7/+9
2013-07-16compiletest: Add support for metrics and ratchet modes.Graydon Hoare-7/+33
2013-07-11extra: add explicit ratchet-noise-percent option to benchmark ratchet, plus ↵Graydon Hoare-4/+5
a few test breaking fixes.
2013-07-11initial sketch of codegen mode for compiletest; doesn't measure / compare / ↵Graydon Hoare-16/+45
ratchet the disassembly yet
2013-07-04Bring compiletest/rustpkg/driver up to date on std vs coreAlex Crichton-24/+12
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-2/+2
2013-06-27auto merge of #7430 : huonw/rust/vec-kill, r=thestingerbors-1/+1
2013-06-27Convert vec::{head, tail, init, last} (and similar fns) to methods.Huon Wilson-1/+1
2013-06-26WhitespaceBrian Anderson-1/+1
2013-06-25Merge remote-tracking branch 'mozilla/master' into incomingBrian Anderson-0/+275
Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+267
2012-11-26Remove the crate languageBrian Anderson-198/+0
2012-10-12Make moves explicit in compiletestTim Chevalier-1/+1
2012-10-04Remove arg vectors from main functions. Stop supporting them.Brian Anderson-1/+2
2012-09-26core: Replace map/map_default with map_ref/map_default_refBrian Anderson-1/+1
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-25use + mode for (almost) everything when not using legacy modesNiko Matsakis-1/+1
2012-09-23core: Demode optionBrian Anderson-2/+2
2012-09-19std: Demode testBrian Anderson-1/+1
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-3/+3
2012-09-12Promote 'const', 'copy', 'fn' to strict keywordsBrian Anderson-1/+1
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-17/+13
2012-09-04std: Convert test to camel caseBrian Anderson-4/+4
2012-08-31Add JIT testing to compiletest with --jitBrian Anderson-1/+4
2012-08-28CamelCasify lots of stdBen Striegel-1/+1
2012-08-27Convert core::result to camel caseBrian Anderson-3/+3