about summary refs log tree commit diff
path: root/src/tools/cargotest
AgeCommit message (Collapse)AuthorLines
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2023-12-04Don't ask for a specific branch in cargotestLaurențiu Nicola-1/+1
2022-10-23Override linker in cargotest on windowsAaron Hill-0/+4
2022-10-22Bump cargotest servo to 785a344e32db58d4e631fd3cae17fd1f29a721abAaron Hill-1/+1
This updates the 'cssparser' and 'procedural-masquerade' deps to versions that no longer depend on the proc-macro back-compat hack.
2022-07-22cargotest: do not run quickcheck tests in xsvRalf Jung-1/+28
2022-03-26Bump the ripgrep commit exercised by cargotestDavid Tolnay-1/+1
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
Signed-off-by: codehorseman <cricis@yeah.net>
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-05-01Add support for --test-args to cargotestJoshua Nelson-1/+3
This allows running a single test without having to wait for all tests to complete.
2021-04-03Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrumbors-2/+48
Adding diesel to the cargotest suite As discussed in https://github.com/rust-lang/rust/issues/79560#issuecomment-767542364 this adds diesel to the compilers test suite. This is basically a reopened version of #79599, but now with the backing of the compiler team. r? `@pnkfelix`
2020-12-07Update xsv to prevent random CI failuresJoshua Nelson-1/+1
This fixes occasional proptest failures due to a bug in xsv, which aren't related to bugs in the rust compiler.
2020-12-01Adding diesel to the cargetest suiteGeorg Semmler-2/+48
This was proposed in #79459 and #79560. Diesel stresses the trait system implementation quite a lot and there have been various regressions regarding that in the past.
2020-09-27update tokei and ripgrep in cargotestRalf Jung-2/+2
2020-08-22cargotest: fix clippy warningsMatthias Krüger-7/+7
Fixes clippy::redundant_static_lifetimes and clippy::toplevel_ref_arg I also replaced some .expect("") calls with .unwrap()s since there was no message passed by the .expect() anyway.
2020-08-18Remove broken clap versions from cargotestAleksey Kladov-8/+1
treeify depends on an outdated version of clap, which will fail to compile when we promote missing_fragment_specifier future compat lint to error (ie, old clap contains code that shouldn't have compiled in the first place). Additionally, this crate seem tiny relative to other crates we are testing here, so it seems like it doesn't provide that much additional confidence. The same happens with tokei project, but it is an actively maintained one, so we can just upgrade it to a version from 2018, where clap was upgraded.
2020-06-25Support configurable deny-warnings for all in-tree crates.Eric Huss-2/+0
2020-03-31cargotest: remove webrenderPietro Albini-7/+0
The current webrender commit occasionally fails without a reason, and the latest webrender commit is missing a dependency on our Windows builders. It's not worth installing an extra dependency for cargotest, and the spurious failure makes keeping this test not worth it.
2019-12-22Format the worldMark Rousskov-26/+18
2019-09-26cargotest: bump ironMazdak Farrokhzad-459/+2
2019-09-26cargotest: bump webrenderMazdak Farrokhzad-1/+1
2019-09-23Add `#![deny(warnings)]` to internal toolsAlex Crichton-0/+2
2019-08-03cargotest: servo -> caac107ae8145ef2fd20365e2b8fadaf09c2eb3bMazdak Farrokhzad-1/+1
2019-07-30cargotest: bump servo to 9043f247d9b031ed285e880e4b90aa523d4a63ae.Mazdak Farrokhzad-1/+1
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-2/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-05-21Update webrender we're testingAlex Crichton-1/+1
The one locked here has a dependency on an old enough `cmake` crate that it's not detecting visual studio correctly. Let's update webrender which updates `cmake` which should be able to detect Visual Studio correctly.
2019-03-31Fixed URL in cargotest::TEST_REPOSAaron Power-1/+1
2019-02-03Use 2018 edition for cargotestHirokazu Hata-0/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07use top level `fs` functions where appropriateAndy Russell-6/+2
This commit replaces many usages of `File::open` and reading or writing with `fs::read_to_string`, `fs::read` and `fs::write`. This reduces code complexity, and will improve performance for most reads, since the functions allocate the buffer to be the size of the file. I believe that this commit will not impact behavior in any way, so some matches will check the error kind in case the file was not valid UTF-8. Some of these cases may not actually care about the error.
2018-10-06rustc: Allow `#[no_mangle]` anywhere in a crateAlex Crichton-2/+2
This commit updates the compiler to allow the `#[no_mangle]` (and `#[export_name]` attributes) to be located anywhere within a crate. These attributes are unconditionally processed, causing the compiler to always generate an exported symbol with the appropriate name. After some discussion on #54135 it was found that not a great reason this hasn't been allowed already, and it seems to match the behavior that many expect! Previously the compiler would only export a `#[no_mangle]` symbol if it were *publicly reachable*, meaning that it itself is `pub` and it's otherwise publicly reachable from the root of the crate. This new definition is that `#[no_mangle]` *is always reachable*, no matter where it is in a crate or whether it has `pub` or not. This should make it much easier to declare an exported symbol with a known and unique name, even when it's an internal implementation detail of the crate itself. Note that these symbols will persist beyond LTO as well, always making their way to the linker. Along the way this commit removes the `private_no_mangle_functions` lint (also for statics) as there's no longer any need to lint these situations. Furthermore a good number of tests were updated now that symbol visibility has been changed. Closes #54135
2018-08-06update ripgrep tested by cargotestRalf Jung-1/+1
2017-11-21Revert servo to upstream in cargotestSimon Sapin-2/+2
This is a follow-up to https://github.com/rust-lang/rust/pull/45225#issuecomment-345503017 now that upstream has adjusted https://github.com/servo/servo/pull/19316
2017-11-19cargotest: temporarily use eddyb/servo to include servo/servo#19285.Eduard-Mihai Burtescu-2/+2
2017-11-05Relax #[deny(warnings)] in some crate for cargotestLukas Kalbertodt-0/+2
Otherwise changes to the compiler are unable to introduce new warnings: some crates tested by cargotest deny all warnings and thus, the CI build fails. Thanks SimonSapin for the patch!
2017-10-26cargotest: Update xsv.kennytm-1/+1
This fixes a flaky test which caused spurious failures in #45348 and #45380
2017-10-24Add WebRender to cargotestSimon Sapin-0/+7
2017-10-24Add Stylo to cargotestSimon Sapin-0/+9
2017-10-23Extend cargotest to specify packages to test (within a Cargo workspace).Simon Sapin-4/+14
2017-09-21update xsv to headEh2406-1/+1
2017-04-24Run tests for the cargo submodule in treeAlex Crichton-20/+0
Previously the `cargotest` suite would run some arbitrary revision of Cargo's test suite, but now that we're bundling it in tree we should be running the Cargo submodule's test suite instead.
2017-03-29rustbuild: Update bootstrap compilerAlex Crichton-134/+227
Now that we've also updated cargo's release process this commit also changes the download location of Cargo from Cargos archives back to the static.r-l.o archives. This should ensure that the Cargo download is the exact Cargo paired with the rustc that we release.
2017-03-01Add Cargo as a submoduleAlex Crichton-1/+1
2017-02-03Update to last cargo versionGuillaume Gomez-1/+1
2017-02-03Update cargo version to last masterGuillaume Gomez-1/+1
2017-01-22Warn on unused `#[macro_use]` imports.Jeffrey Seyfried-1/+1
2016-12-30cargotest: Add xsv to tested cratesAlex Crichton-0/+6
This was intended to land in #37149 but I ended up backing it out to land the rollup (#38697) last night as I was itching to do so. This morning though xsv has been fixed now (BurntSushi/xsv#53) so we should be able to add it!
2016-12-29A few small test fixes and such from rollupAlex Crichton-6/+0
2016-12-29Fixes for new cargo test reposAlex Crichton-42/+38
* Update to ripgrep HEAD because the previous rev would still change the lock file when `cargo build` was issued. * Remove `bins` as it depends on OpenSSL on Windows, which won't work on our bots * Update rev of tokei to get a rev that doesn't change the lockfile
2016-12-29Add some more repos to cargotestE. Dunham-1/+30
From suggestions at https://users.rust-lang.org/t/what-stable-rust-applications-do-you-use-frequently/7618 This adds some applications which use stable Rust and come with their own lockfiles in tree. ripgrep, xsv, and bins have 33 unique dependencies between them.