summary refs log tree commit diff
path: root/src/tools/tidy
AgeCommit message (Collapse)AuthorLines
2018-08-07Update RLS, Rustfmt, ClippyNick Cameron-3/+3
Includes backporting the rustc workspace hack
2018-07-29Exempt cloudabi from license check.kennytm-0/+1
2018-07-28Update the Cargo submodule and rustfixAlex Crichton-0/+1
Should hopefully bring in a few more `cargo fix`-related fixes.
2018-07-25Add missing dynTatsuyuki Ishi-3/+3
2018-07-23Change single char str patterns to charsljedrz-3/+3
2018-07-15tidy: add a new test for external dependenciesSébastien Marie-0/+52
ensure all packages in Cargo.lock will be vendored, and fail if the source packages isn't whitelisted.
2018-07-07Mostly fix compiling without LLVM (with metadata_only backend)bjorn3-1/+0
2018-07-06Update RLS, Rustfmt, Cargo, and ClippyNick Cameron-0/+1
2018-06-20Fix tidyBastien Orivel-1/+1
2018-05-30Replace libbacktrace with a submoduleAlex Crichton-0/+1
While we're at it update the `backtrace` crate from crates.io. It turns out that the submodule's configure script has gotten a lot more finnicky as of late so also switch over to using the `cc` crate manually which allows to avoid some hacks around the configure script as well
2018-05-29Whitelist datafrog on tidySantiago Pastorino-0/+1
2018-05-27Ensure every unstable feature has a tracking issue.kennytm-6/+29
2018-05-26Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakiskennytm-0/+1
Use AllFacts from polonius-engine
2018-05-24Use AllFacts from polonius-engineSantiago Pastorino-0/+1
2018-05-24extend the crate whitelist to include rustc-hash, chalkNiko Matsakis-0/+3
2018-05-17Rename trans to codegen everywhere.Irina Popa-1/+1
2018-05-16tidy: Add a check for empty UI test filesJane Lusby-23/+40
Check for empty `.stderr` and `.stdout` files in UI test directories. Empty files could still pass testing for `compile-pass` tests with no output so they can get into the repo accidentally, but they are not necessary and can be removed.
2018-05-13Add a Rayon thread poolJohn Kåre Alsaker-0/+10
2018-05-12Display the name of the failed file in tidy/libcoretestvarkor-8/+15
2018-05-12Ignore non .rs files for tidy libcoretestvarkor-6/+9
Previously, any file would be read, which is both unnecessary, and causes issues if irrelevant non-Unicode files were read (e.g. `.DS_STORE`).
2018-05-06Auto merge of #50466 - kennytm:rustbuild-stage0-lib-test, r=Mark-Simulacrumbors-0/+36
rustbuild: Allow quick testing of libstd and libcore at stage0 This PR implemented two features: 1. Added a `--no-doc` flag to allow testing a crate *without* doc tests. In this mode, we don't need to build rustdoc, and thus we can skip building the stage2 compiler. (Ideally stage0 test should use the bootstrap rustdoc, but I don't want to mess up the core builder logic here) 2. Moved all libcore tests externally and added a tidy test to ensure we don't accidentally add `#[test]` into libcore. After this PR, one could run `./x.py test --stage 0 --no-doc src/libstd` to test `libstd` without building the compiler, thus enables us to quickly test new library features.
2018-05-05Misc tweaksJohn Kåre Alsaker-0/+1
2018-05-06Added a tidy test to ensure libcore cannot contain any tests.kennytm-0/+36
2018-04-26handle license checkNick Cameron-1/+2
2018-04-20Fix revision support for UI tests.Eric Huss-27/+15
Fixes #48878
2018-04-11Auto merge of #49861 - pnkfelix:compare-mode-nll-followup-2, r=nikomatsakisbors-2/+29
Blindly checkpoint status of NLL mode ui tests This takes the next (and potentially final?) step with #48879. Namely, this PR got things to the point where I can successfully run `compiletest` on `src/test/ui` with `--compile-mode=nll`. Here are the main pieces of it: 1. To figure out how to even run `compiletest` normally on the ui directory, I ran `x.py test -vv`, and then looked for the `compiletest` invocation that mentioned `src/test/ui`. 2. I took the aforementioned `compiletest` invocation and used it, adding `--compile-mode=nll` to the end. It had 170 failing cases. 3. Due to #49855, I had to edit some of the tests so that they fail even under NLL, via `#[rustc_error]`. That's the first commit. (Then goto 2 to double-check no such tests remain.) 4. I took the generated `build/target/test/foo.stderr` file for every case that failed, and blindly copied it to `src/test/foo.nll.stderr`. That's the second commit. 5. Goto 2 until there were no failing cases. 6. Remove any stamp files, and re-run `x.py test` to make sure that the edits and new `.nll.stderr` files haven't broken the pre-existing test suite.
2018-04-09Make tidy treat "test/ui/foo.nll.stderr" just like "foo.stderr".Felix S. Klock II-2/+29
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-2/+0
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-03-14Remove syntax and syntax_pos thread localsJohn Kåre Alsaker-0/+1
2018-03-13Rollup merge of #48880 - petrochenkov:badstderr, r=kennytmkennytm-0/+28
tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directories
2018-03-11Update Cargo submoduleAlex Crichton-0/+2
Required moving all fulldeps tests depending on `rand` to different locations as now there's multiple `rand` crates that can't be implicitly linked against.
2018-03-09tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directoriesVadim Petrochenkov-0/+28
2018-03-06Update env_logger to 0.5.4Alex Crichton-0/+17
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-03-05Add ena to whitelistWho? Me?!-0/+1
2018-03-05Uncomment whitelistWho? Me?!-34/+34
2018-03-05Do check the deps of path depsMark Mansi-32/+44
2018-03-05enable whitelistMark Mansi-23/+23
2018-03-05Don't check in-tree depsMark Mansi-39/+12
2018-03-05different versions may have different depsMark Mansi-66/+84
2018-03-05Add a few missing depsMark Mansi-0/+3
2018-03-05Remove spurious whitespaceMark Mansi-54/+54
2018-03-05uncomment whitelistMark Mansi-55/+55
2018-03-05Fix alexcrichton's commentsMark Mansi-95/+77
2018-03-05Only check the whitelist for some cratesMark Mansi-340/+147
2018-03-05Get the path to cargo from rustbuildMark Mansi-7/+9
2018-03-05Trying to get paths right...Mark Mansi-1/+310
2018-03-05MAKE IT FAILgit statusgit statusMark Mansi-20/+53
2018-03-05CommentsMark Mansi-1/+2
2018-03-05Start adding a whitelist for rustc dependenciesMark Mansi-9/+77
2018-03-05Run rustfmt on tidy/src/deps.rsMark Mansi-14/+15