about summary refs log tree commit diff
path: root/src/tools/compiletest/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-03-20migrate compiler, bootstrap, and compiletest to windows-rsAndy Russell-1/+7
2023-02-21replace lazy_static with once_cellklensy-1/+1
2023-02-21compiletest: bump miow crateklensy-1/+1
2023-02-10add only modified for compiletestyukang-0/+1
2022-10-31Detect unused files in `src/test/mir-opt` and error on them in tidy.Jakob Degen-0/+1
2022-08-07compiletest: use precise cfg matching instead of hard-coded tablesEric Huss-0/+1
2021-12-22Upgrade `tracing-subscriber`pierwill-1/+1
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-06-20Update rustfix for compiletest.Eric Huss-1/+1
2021-03-03Auto merge of #82553 - tmiasko:update-tracing, r=Mark-Simulacrumbors-1/+1
Update tracing to 0.1.25 * Update tracing from 0.1.18 to 0.1.25 * Update tracing-subscriber from 0.2.13 to 0.2.16 * Update tracing-tree from 0.1.6 to 0.1.8 * Add pin-project-lite to the list of allowed dependencies (it is now a direct dependency of tracing).
2021-03-01Use a crate to produce rustdoc tree comparisons instead of the `diff` commandMichael Howell-0/+2
It doesn't exist on Windows, so we bring our own unified diff implementation. Fixes #82409
2021-02-28Update tracing to 0.1.25Tomasz Miąsko-1/+1
2020-10-20Initialize tracing subscriber in compiletest toolTomasz Miąsko-1/+1
The logging in compiletest was migrated from log crate to a tracing, but the initialization code was never changed, so logging is non-functional. Initialize tracing subscriber using default settings.
2020-08-15replaced log with tracingGurpreet Singh-1/+1
2020-07-31Move from `log` to `tracing`Oliver Scherer-1/+1
2020-07-29Move mir-opt tests to toplevelXavier Denis-0/+1
2020-01-14Update rustfix in compiletest.Eric Huss-1/+1
2019-09-26Upgrade env_logger to 0.7Mateusz Mikuła-1/+1
2019-09-06Upgrade env_logger to 0.6Mateusz Mikuła-1/+1
2019-05-13remove compiletest's dependency on `filetime`Andy Russell-1/+0
2019-05-09remove unneeded `extern crate`s from build toolsAndy Russell-2/+1
2019-02-04Transition compiletest to Rust 2018Philipp Hansch-0/+1
2018-12-17Address the pull request review comments.Vytautas Astrauskas-0/+1
2018-09-12Really make CGU names unique across crates.Michael Woerister-1/+1
2018-09-04Breaking change upgradesMark Rousskov-1/+1
2018-07-28Update the Cargo submodule and rustfixAlex Crichton-1/+1
Should hopefully bring in a few more `cargo fix`-related fixes.
2018-07-06Dedupe filetimeBastien Orivel-1/+1
2018-05-22Update compiltest to use rustfix 0.3.1Pascal Hertleif-1/+1
2018-05-05Misc tweaksJohn Kåre Alsaker-0/+1
2018-05-04Use published rustfix 0.2 versionPascal Hertleif-1/+1
2018-05-04Use rustfix' suggestion fixing APIPascal Hertleif-1/+1
Uses branch from <https://github.com/rust-lang-nursery/rustfix/pull/63> until we publish a new release.
2018-05-04First step towards rustfix compiletest modePascal Hertleif-0/+1
This is the first small step towards testing auto-fixable compiler suggestions using compiletest. Currently, it only checks if next to a UI test there also happens to a `*.rs.fixed` file, and then uses rustfix (added as external crate) on the original file, and asserts that it produces the fixed version. To show that this works, I've included one such test. I picked this test case at random (and because it was simple) -- It is not relevant to the 2018 edition. Indeed, in the near future, we want to be able to restrict rustfix to edition-lints, so this test cast might go away soon. In case you still think this is somewhat feature-complete, here's a quick list of things currently missing that I want to add before telling people they can use this: - [ ] Make this an actual compiletest mode, with `test [fix] …` output and everything - [ ] Assert that fixed files still compile - [ ] Assert that fixed files produce no (or a known set of) diagnostics output - [ ] Update `update-references.sh` to support rustfix - [ ] Use a published version of rustfix (i.e.: publish a new version rustfix that exposes a useful API for this)
2018-03-07Merge branch 'compiletest-update' of https://github.com/alexcrichton/rust ↵Alex Crichton-3/+5
into update-cargo
2018-03-06Update compiletest's dependenciesAlex Crichton-3/+5
Drop rustc-serialize, add winapi 0.3 and Serde!
2018-03-06Update env_logger to 0.5.4Alex Crichton-1/+1
It looks like this cuts down on the number of dependencies in env_logger and notably cuts out a difference between a shared dependency of rls/cargo. My goal here is to ensure that when we compile the RLS/Cargo on CI we only compile Cargo once, and this is one step towards that!
2018-01-07Try to fix a perf regression by updating logMalo Jaffré-1/+1
Upgrade `log` to `0.4` in multiple crates.
2017-12-14Support regexes in custom normalization in UI testsVadim Petrochenkov-0/+1
2017-11-26Compiletest libc dependency can be unix-onlyDavid Tolnay-0/+2
In main.rs libc is imported as: #[cfg(unix)] extern crate libc;
2017-11-06Abbreviate some stdout/stderr output in compiletest.kennytm-0/+4
This is intended to prevent the spurious OOM error from run-pass/rustc-rust-log.rs, by skipping the output in the middle when the size is over 416 KB, so that the log output will not be overwhelmed.
2017-07-13Reduce the usage of features in compiletest and libtestOliver Schneider-0/+1
2017-06-20Switch to the crates.io `getopts` crateAlex Crichton-3/+4
This commit deletes the in-tree `getopts` crate in favor of the crates.io-based `getopts` crate. The main difference here is with a new builder-style API, but otherwise everything else remains relatively standard.
2017-04-27use diff crate for compile-fail test diagnostics #41474Cengiz Can-0/+1
2017-03-23Remove internal liblogAlex Crichton-1/+1
This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
2017-02-06compiletest: Add caching of test resultsAlex Crichton-0/+1
Don't re-run tests in compiletest if all the inputs haven't changed, manage stamp files in the output directory.
2017-02-06std: Remove cfg(cargobuild) annotationsAlex Crichton-1/+0
These are all now no longer needed that we've only got rustbuild in tree.
2016-12-30rustbuild: Compile all support tools in stage0Alex Crichton-1/+1
This commit changes all tools and such to get compiled in stage0, not in later stages. The purpose of this commit is to cut down dependencies on later stages for future modifications to the build system. Notably we're going to be adding builders that produce a full suite of cross-compiled artifacts for a particular host, and that shouldn't compile the `x86_64-unknown-linux-gnu` compiler more than once. Currently dependencies on, for example, the error index end up compiling the `x86_64-unknown-linux-gnu` compiler more than necessary. As a result here we move many dependencies on these tools to being produced by a stage0 compiler, not a stage1+ compiler. None of these tools actually need to be staged at all, so they'll exhibit consistent behavior across the stages.
2016-12-20mk: Fix compile with makefilesAlex Crichton-1/+0
A tweak was made to dependencies in #38451 but the makefiles weren't updated to accompany this. Instead of trying to integerate the `build_helper` crate into the makefiles (which currently isn't present) this commit takes the approach of just duplicating the required logic, which should be small enough for now.
2016-12-17let BSD to use gmake for GNU-makeSébastien Marie-0/+1
the diff extends build_helper to provide an function to return the expected name of GNU-make on the host: "make" or "gmake". Fixes #38429
2016-11-30Update the bootstrap compilerAlex Crichton-6/+0
Now that we've got a beta build, let's use it!