about summary refs log tree commit diff
path: root/src/tools/cargotest
AgeCommit message (Collapse)AuthorLines
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.
2016-12-18Update commit hash in cargotestSeo Sanghyeon-1/+1
2016-10-29Update cargo sha for cargotestVadim Petrochenkov-1/+1
2016-10-14Add AppVeyor configuration to the repoAlex Crichton-0/+14
We hope to move to AppVeyor in the near future off of Buildbot + EC2. This adds an `appveyor.yml` configuration file which is ready to run builds on the auto branch. This is also accompanied with a few minor fixes to the build system and such to accomodate AppVeyor. The intention is that we're not switching over to AppVeyor entirely just yet, but rather we'll watch the builds for a week or so. If everything checks out then we'll start gating on AppVeyor instead of Buildbot!
2016-10-07Use workspaces and switch to a single Cargo.lock.Ahmed Charles-4/+0
This involves hacking the code used to run cargo test on various packages, because it reads Cargo.lock to determine which packages should be tested. This change implements a blacklist, since that will catch new crates when they are added in the future.
2016-10-06rustc: Rename rustc_macro to proc_macroAlex Crichton-1/+1
This commit blanket renames the `rustc_macro` infrastructure to `proc_macro`, which reflects the general consensus of #35900. A follow up PR to Cargo will be required to purge the `rustc-macro` name as well.
2016-10-03std: Stabilize and deprecate APIs for 1.13Alex Crichton-1/+1
This commit is intended to be backported to the 1.13 branch, and works with the following APIs: Stabilized * `i32::checked_abs` * `i32::wrapping_abs` * `i32::overflowing_abs` * `RefCell::try_borrow` * `RefCell::try_borrow_mut` * `DefaultHasher` * `DefaultHasher::new` * `DefaultHasher::default` Deprecated * `BinaryHeap::push_pop` * `BinaryHeap::replace` * `SipHash13` * `SipHash24` * `SipHasher` - use `DefaultHasher` instead in the `std::collections::hash_map` module Closes #28147 Closes #34767 Closes #35057 Closes #35070
2016-08-09Update cargo SHA to latest cargoJonathan Turner-1/+1
2016-08-05Update `cargo_test` hash.Jeffrey Seyfried-1/+1
2016-06-11run rustfmt on cargotest folder in src/tools/cargotestSrinivas Reddy Thatiparthy-38/+38
2016-06-02Update cargo version in cargotestWangshan Lu-1/+1
2016-05-04Update commit hash in cargotestSeo Sanghyeon-1/+1
2016-04-15cargotest: Put output in build directoryAlex Crichton-68/+67
Right now cargotest uses `TempDir` to place output into the system temp directory, but unfortunately this means that if the process is interrupted then it'll leak the directory and that'll never get cleaned up. One of our bots filled up its disk space and there were 20 cargotest directories lying around so seems prudent to clean them up! By putting the output in the build directory it should ensure that we don't leak too many extra builds.
2016-04-07Fix cargotestBrian Anderson-1/+1
2016-03-22Introduce 'cargotest' and the check-cargotest buildstepBrian Anderson-0/+505
This is a new suite of tests that verifies that the compiler builds specific revisions of select crates from crates.io. It does not run by default. It is intended that buildbot runs these tests against all PRs, and gate on them.