summary refs log tree commit diff
path: root/src/compiletest/compiletest.rs
AgeCommit message (Collapse)AuthorLines
2014-01-06Register new snapshotsAlex Crichton-1/+0
2013-12-25Test fixes and rebase conflictsAlex Crichton-0/+1
* vec::raw::to_ptr is gone * Pausible => Pausable * Removing @ * Calling the main task "<main>" * Removing unused imports * Removing unused mut * Bringing some libextra tests up to date * Allowing compiletest to work at stage0 * Fixing the bootstrap-from-c rmake tests * assert => rtassert in a few cases * printing to stderr instead of stdout in fail!()
2013-12-24Test fixes and rebase problemsAlex Crichton-2/+2
Note that this removes a number of run-pass tests which are exercising behavior of the old runtime. This functionality no longer exists and is thoroughly tested inside of libgreen and libnative. There isn't really the notion of "starting the runtime" any more. The major notion now is "bootstrapping the initial task".
2013-12-10compiletest: Remove uses of `Cell`.Patrick Walton-8/+6
2013-12-08Remove dead codesKiet Tran-4/+0
2013-12-04Revert "libstd: Change `Path::new` to `Path::init`."Kevin Ballard-6/+6
This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs
2013-11-29libstd: Change `Path::new` to `Path::init`.Patrick Walton-6/+6
2013-11-26librustc: Make `||` lambdas not infer to `proc`sPatrick Walton-2/+4
2013-11-26test: Remove non-procedure uses of `do` from compiletest, libstd tests,Patrick Walton-2/+2
compile-fail tests, run-fail tests, and run-pass tests.
2013-11-26libsyntax: Remove the old-style borrowed closure type syntax from thePatrick Walton-2/+2
language.
2013-11-11Move std::rt::io to std::ioAlex Crichton-1/+1
2013-11-06Add make check support(arm-linux-androideabi debuginfo)sh8281.kim-0/+13
2013-11-04Move io::file to io::fs and fns out of FileAlex Crichton-2/+2
This renames the `file` module to `fs` because that more accurately describes its current purpose (manipulating the filesystem, not just files). Additionally, this adds an UnstableFileStat structure as a nested structure of FileStat to signify that the fields should not be depended on. The structure is currently flagged with #[unstable], but it's unlikely that it has much meaning. Closes #10241
2013-11-03Remove all blocking std::os blocking functionsAlex Crichton-1/+2
This commit moves all thread-blocking I/O functions from the std::os module. Their replacements can be found in either std::rt::io::file or in a hidden "old_os" module inside of native::file. I didn't want to outright delete these functions because they have a lot of special casing learned over time for each OS/platform, and I imagine that these will someday get integrated into a blocking implementation of IoFactory. For now, they're moved to a private module to prevent bitrot and still have tests to ensure that they work. I've also expanded the extensions to a few more methods defined on Path, most of which were previously defined in std::os but now have non-thread-blocking implementations as part of using the current IoFactory. The api of io::file is in flux, but I plan on changing it in the next commit as well. Closes #10057
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-7/+7
Who doesn't like a massive renaming?
2013-10-15path2: Adjust the API to remove all the _str mutation methodsKevin Ballard-6/+6
Add a new trait BytesContainer that is implemented for both byte vectors and strings. Convert Path::from_vec and ::from_str to one function, Path::new(). Remove all the _str-suffixed mutation methods (push, join, with_*, set_*) and modify the non-suffixed versions to use BytesContainer.
2013-10-15path2: Replace the path module outrightKevin Ballard-17/+19
Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process.
2013-10-09option: rewrite the API to use compositionDaniel Micay-5/+5
2013-09-30rpass: Remove usage of fmt!Alex Crichton-1/+1
2013-09-30compiletest: Remove usage of fmt!Alex Crichton-33/+33
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