summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2017-07-13More removal of rls packagingAlex Crichton-15/+0
Beta right now unfortunately can't get released due to the `build-manifest` program failing, and I believe it's due to the expectation that a `rls` package exists but it doesn't currently on the beta branch.
2017-07-13Update the `cargo` submoduleAlex Crichton-0/+0
Notably pull in an update to the `jobserver` crate to have Cargo set the `CARGO_MAKEFLAGS` environment variable instead of the `MAKEFLAGS` environment variable.
2017-07-03update cargo submoduleMarc-Antoine Perennou-0/+0
This brings in tests fixes and the new handling of __CARGO_DEFAULT_LIB_METADATA Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-06-14Update cargo submoduleAlex Crichton-0/+0
Pulls in two beta fixes for cargo: * rust-lang/cargo#4169 * rust-lang/cargo#4170
2017-06-08[beta] Update rls/cargo submodulesAlex Crichton-0/+0
This updates the cargo submodule to the latest tip of Cargo, along with an accompanying update to the `rls` submodule to keep it compiling.
2017-06-06Prepare the 1.19.0 beta releaseAlex Crichton-5/+5
* Update the cargo submodule * Update the stage0 bootstrap to 1.18.0 release * Update release channel to beta * Disable the RLS (this'll happen next beta hopefully)
2017-06-04Auto merge of #41968 - kennytm:fix-unreadable-json-test-output-36516, ↵bors-32/+55
r=nikomatsakis Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516. <del>`ui-run` test is a combination of `ui` test and `run-pass` test. It is used to test lint output.</del> Added support of `// run-pass` header to `ui` tests. The compiler message of each test must match the corresponding `*.stderr` file like the traditional `ui` tests. Additionally, the compiled output must be executed successfully like the `run-pass` test. 12 `run-pass`/`run-pass-fulldeps` tests are moved to `ui`/`ui-fulldeps` plus the headers. After this move, no `run-pass`/`run-pass-fulldeps` tests should rely on the compiler's JSON message. This allows us to stop passing `--error-format json` in run-pass tests, thus fixing #36516.
2017-06-02compiletest: Force directive to be first complete word in header comment.kennytm-28/+31
Refactored some related code to take advantage of this change.
2017-06-02Introduce 'run-pass' header to 'ui' tests in compiletest. Fix issue #36516.kennytm-4/+24
The 'run-pass' header cause a 'ui' test to execute the result. It is used to test the lint output, at the same time ensure those lints won't cause the source code to become compile-fail. 12 run-pass/run-pass-fulldeps tests gained the header and are moved to ui/ui-fulldeps. After this move, no run-pass/run-pass-fulldeps tests should rely on the compiler's JSON message. This allows us to stop passing `--error-format json` in run-pass tests, thus fixing #36516.
2017-06-02Rollup merge of #42343 - cuviper:install-executables, r=alexcrichtonMark Simulacrum-0/+0
Update rust-installer for Windows executable mode It now marks a few whitelisted extensions as executable in the tarball, so Windows packages can be extracted on other platforms and directly execute install.sh. It also includes a fix for the chmod on bulk dirs, so now the html docs won't be marked executable en masse. Fixes #42121 r? @alexcrichton
2017-06-02ci: Further tone down the test verbosity.kennytm-2/+7
When `--quiet` is passed to rustbuild, suppress rustdoc test output unless failure. Added a `--quiet` flag to `tidy`, which suppresses the features table. The actual `--quiet` flag is enabled in #42354. Since details of failed tests will still be printed, and the name of slow tests taking >60 to runtime will also be printed, the debugging difficulty caused by information loss should be minimal; but it is very worthwhile to keep the log under 10000 lines on Travis CI so that common errors can be spotted without reading the raw log.
2017-06-02Added --color flag to compiletest.kennytm-2/+16
2017-05-31Update rust-installer for Windows executable modeJosh Stone-0/+0
It now marks a few whitelisted extensions as executable in the tarball, so Windows packages can be extracted on other platforms and directly execute install.sh. It also includes a fix for the chmod on bulk dirs, so now the html docs won't be marked executable en masse. Fixes #42121 r? @alexcrichton
2017-05-28Updated locked version of libgit2Alex Crichton-0/+0
This should include a fix for rust-lang/cargo#4091 with an updated version of libgit2. Closes rust-lang/cargo#4091
2017-05-24Rollup merge of #42191 - alexcrichton:update-cargo, r=Mark-SimulacrumMark Simulacrum-0/+0
Update Cargo submodule Contains a fix for rust-lang/cargo#4081
2017-05-24Update Cargo submoduleAlex Crichton-0/+0
Contains a fix for rust-lang/cargo#4081
2017-05-23Remove some needless // gate-test- commentsest31-13/+16
Also, add detection to treat such comments as tidy errors. We also remove the found_lib_feature code because it was just repeating the found_feature code. Originally it was intended to allow for gate-test lines for lib features, but apparently nobody missed it.
2017-05-23Rollup merge of #42144 - cengizIO:master, r=nikomatsakisCorey Farwell-3/+3
make ui test output patch compatible #41948 Hello! Previously with #41474 I've changed the internals of UI test output comparison mechanism. That change didn't change the diff format that we were producing but we needed to improve it anyway. This makes unified diff lines a little bit more `patch` compatible. Also I tried to introduce a unit test to check this but couldn't decide which of the following to implement: 1. Should I replace `println` macros with `Writer`s? And access the produced output within a test? 2. Should I add an external test (something like `src/test/run-pass/command-exec.rs`) 3. There are crates that capture `stdout`. Are they safe to use here? (I don't think so) Thanks! cc @nikomatsakis
2017-05-22make ui test output patch compatible #41948Cengiz Can-3/+3
2017-05-20Update rust-installer to normalize manifest pathsJosh Stone-0/+0
2017-05-20update rust-installerMarc-Antoine Perennou-0/+0
This fixes the default value for sysconfdir Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-05-18Update the Cargo submodulesAlex Crichton-0/+0
2017-05-18Auto merge of #42073 - mersinvald:update-cargo-submodule, r=Mark-Simulacrumbors-0/+0
Cargo submodule update Required for https://github.com/rust-lang/rust/pull/41910 r? @Mark-Simulacrum
2017-05-18Cargo submodule updateMike Lubinets-0/+0
2017-05-17Reset submodule management to what master doesAlex Crichton-1/+1
Basically just translate what's done on master in Rust to Python here.
2017-05-18Whitelist strings crate for licenseTatsuyuki Ishi-0/+1
As we can't wait for the maintainer.
2017-05-18Unify all stage2 tools into a workspaceTatsuyuki Ishi-0/+0
This avoids double compiled Cargo. Hopefully this would speed up (extended) compilation for ~10m. Notes: when updating Cargo submodule, the replacement version may also need to be updated.
2017-05-16Update cargo submoduleAlex Crichton-0/+0
This pulls in a fix for #41797 to the master branch, I'll send a separate PR for the beta branch.
2017-05-15Auto merge of #41843 - cuviper:oxidized-installer, r=alexcrichtonbors-1/+1
Update to the Rusty rust-installer This updates the rust-installer submodule to the new version written in Rust (rust-lang/rust-installer#62), now moved to `src/tools/rust-installer` and invoked in `dist.rs` as a cargo-based tool command. All of the former shell-script invocations now invoke the tool, otherwise keeping the same arguments as before. As a small bonus, `rustc-src` now also uses the same tarball generator, so it gains a smaller `.tar.xz` too. Fixes #41569. r? @alexcrichton
2017-05-15Auto merge of #41992 - ollie27:linkchecker_base, r=alexcrichtonbors-56/+33
linkchecker: Add support for <base> tag Add support for the HTML <base> tag as used by mdBook so The Unstable Book can be checked. Also cleanup a few things: * Stop checking the name attribute. It should never have been used and mdBook has since been fixed not to use it. * Make sure we only check html files. * Remove a few unnecessary allocations. Finally, dead links in The Unstable Book have been fixed.
2017-05-14Update to the oxidized rust-installerJosh Stone-1/+1
2017-05-14linkchecker: Add support for <base> tagOliver Middleton-56/+33
Add support for the HTML <base> tag as used by mdBook so The Unstable Book can be checked. Also cleanup a few things: * Stop checking the name attribute. It should never have been used and mdBook has since been fixed not to use it. * Make sure we only check html files. * Remove a few unnecessary allocations. Finally, dead links in The Unstable Book have been fixed.
2017-05-14Auto merge of #41978 - alexcrichton:update-cargo, r=Mark-Simulacrumbors-0/+0
Update the Cargo submodule Brings some nice updates like faster index clones/updates, retries on 500 from crates.io, etc.
2017-05-14Auto merge of #41969 - Enet4:update-rls-313, r=Mark-Simulacrumbors-0/+0
Update RLS to solve serious crash As a follow-up to rust-lang-nursery/rls#312, this PR contains the fix to the latest experienced RLS crashes, which should hopefully reach the nightly release as soon as possible.
2017-05-14Update rls submodule with important fixesEduardo Pinho-0/+0
- Updates ls_types to "0.10.0", which prevents RLS crashes
2017-05-13Update the Cargo submoduleAlex Crichton-0/+0
Brings some nice updates like faster index clones/updates, retries on 500 from crates.io, etc.
2017-05-12Rollup merge of #41935 - iKevinY:detect-empty-files, r=Mark-SimulacrumMark Simulacrum-0/+5
Add tidy check to detect empty files Addresses #18439.
2017-05-12Add tidy check to detect empty filesKevin Yap-0/+5
Addresses #18439.
2017-05-11Annotate the license exceptionsBrian Anderson-5/+8
2017-05-11Auto merge of #41863 - malbarbo:update-android-builder, r=alexcrichtonbors-1/+1
ci: Update android ndk and sdk Make install-sdk.sh and install-ndk.sh more generic so future updates can be made directly on Dockerfile. Update ndk to r13b, which will be necessary to make host builds for android (in the future). Update sdk to r25.2.5 (maybe some emulator performance improvement).
2017-05-11Auto merge of #41905 - frewsxcv:rollup, r=frewsxcvbors-0/+5
Rollup of 5 pull requests - Successful merges: #41192, #41724, #41873, #41877, #41889 - Failed merges:
2017-05-11Update RLSNick Cameron-0/+0
Pulls in crucial dependency updates which fix a serious RLS bug
2017-05-10compiletest: force GDB to print values in the Rust format.Eduard-Mihai Burtescu-0/+5
2017-05-09ci: Update android ndk and sdkMarco A L Barbosa-1/+1
2017-05-09Bump cargo for rust-lang/cargo#4000Jon Gjengset-0/+0
Also relies on rust-lang/cargo#4010
2017-05-05Rollup merge of #41678 - GuillaumeGomez:rustdoc-test-warnings, r=alexcrichtonCorey Farwell-0/+1
Add option to display warnings in rustdoc Part of #41574. r? @alexcrichton The output for this file: ```rust /// ``` /// fn foo(x: u32) {} /// /// foo(2); /// let x = 1; /// panic!(); /// ``` fn foo() {} /// ``` /// fn foo(x: u32) {} /// /// foo(2); /// let x = 1; /// ``` fn foo2() {} /// ``` /// fn foo(x: u32) {} /// /// foo(2); /// let x = 1; /// panic!(); /// ``` fn foo3() {} fn main() { } ``` is the following: ``` > ./build/x86_64-apple-darwin/stage1/bin/rustdoc -Z unstable-options --display-warnings --test test.rs running 3 tests test test.rs - foo (line 1) ... FAILED test test.rs - foo3 (line 18) ... FAILED test test.rs - foo2 (line 10) ... ok successes: ---- test.rs - foo2 (line 10) stdout ---- warning: unused variable: `x` --> <anon>:2:8 | 2 | fn foo(x: u32) {} | ^ | = note: #[warn(unused_variables)] on by default warning: unused variable: `x` --> <anon>:5:5 | 5 | let x = 1; | ^ | = note: #[warn(unused_variables)] on by default successes: test.rs - foo2 (line 10) failures: ---- test.rs - foo (line 1) stdout ---- warning: unused variable: `x` --> <anon>:2:8 | 2 | fn foo(x: u32) {} | ^ | = note: #[warn(unused_variables)] on by default warning: unused variable: `x` --> <anon>:5:5 | 5 | let x = 1; | ^ | = note: #[warn(unused_variables)] on by default thread 'rustc' panicked at 'test executable failed: thread 'main' panicked at 'explicit panic', <anon>:6 note: Run with `RUST_BACKTRACE=1` for a backtrace. ', src/librustdoc/test.rs:317 note: Run with `RUST_BACKTRACE=1` for a backtrace. ---- test.rs - foo3 (line 18) stdout ---- warning: unused variable: `x` --> <anon>:2:8 | 2 | fn foo(x: u32) {} | ^ | = note: #[warn(unused_variables)] on by default warning: unused variable: `x` --> <anon>:5:5 | 5 | let x = 1; | ^ | = note: #[warn(unused_variables)] on by default thread 'rustc' panicked at 'test executable failed: thread 'main' panicked at 'explicit panic', <anon>:6 note: Run with `RUST_BACKTRACE=1` for a backtrace. ', src/librustdoc/test.rs:317 failures: test.rs - foo (line 1) test.rs - foo3 (line 18) test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured ```
2017-05-05Rollup merge of #41307 - GuillaumeGomez:jquery-removal, r=frewsxcvCorey Farwell-1/+1
Remove jquery dependency r? @rust-lang/docs Fixes #39159.
2017-05-05Add Options type in libtest and remove argumentGuillaume Gomez-1/+1
2017-05-04Add remote device testing supportMátyás Mustoha-10/+61
2017-05-03Rollup merge of #41600 - ranma42:xz-dist, r=alexcrichtonCorey Farwell-20/+30
Generate XZ-compressed tarballs Integrate the new `rust-installer` and extend manifests with keys for xz-compressed tarballs. One of the steps required for https://github.com/rust-lang/rust/issues/21724