about summary refs log tree commit diff
path: root/src/bootstrap/test.rs
AgeCommit message (Collapse)AuthorLines
2018-11-02Remove all jemalloc-related contentAlex Crichton-4/+1
This commit removes all jemalloc related submodules, configuration, etc, from the bootstrap, from the standard library, and from the compiler. This will be followed up with a change to use jemalloc specifically as part of rustc on blessed platforms.
2018-10-26Rollup merge of #55391 - matthiaskrgr:bootstrap_cleanup, r=oli-obkkennytm-10/+10
bootstrap: clean up a few clippy findings remove useless format!()s remove redundant field names in a few struct initializations pass slice instead of a vector to a function use is_empty() instead of comparisons to .len() No functional change intended.
2018-10-26bootstrap: clean up a few clippy findingsMatthias Krüger-10/+10
remove useless format!()s remove redundant field names in a few struct initializations pass slice instead of a vector to a function use is_empty() instead of comparisons to .len() No functional change intended.
2018-10-26Remove redundant cloneShotaro Yamada-1/+1
2018-10-21Remove the parse-fail test suiteVadim Petrochenkov-6/+0
2018-10-20Update Cargo, build curl/OpenSSL statically via featuresAlex Crichton-6/+12
In addition to to updating Cargo's submodule and Cargo's dependencies, this also updates Cargo's build to build OpenSSL statically into Cargo as well as libcurl unconditionally. This removes OpenSSL build logic from the bootstrap code, and otherwise requests that even on OSX we build curl statically.
2018-10-10Run both lldb and gdb testsTom Tromey-14/+6
Currently lldb tests are run only on macOS, and gdb tests are only run elsewhere. This patch changes this to run tests depending on what is available. One test is changed, as it was previously marked as failing on macOS, whereas really it is a generic failure with lldb. Closes #54721
2018-10-08Run debuginfo tests against rust-enabled lldb, when possibleTom Tromey-4/+27
If the rust-enabled lldb was built, then use it when running the debuginfo tests. Updating the lldb submodule was necessary as this needed a way to differentiate the rust-enabled lldb, so I added a line to the --version output. This adds compiletest commands to differentiate between the rust-enabled and non-rust-enabled lldb, as is already done for gdb. A new "rust-lldb" header directive is also added, but not used in this patch; I plan to use it in #54004. This updates all the tests.
2018-09-21Run the newly `ui`-ified run-pass tests under `compare-mode=nll` as well.Felix S. Klock II-2/+3
Fix #53764.
2018-09-14Rollup merge of #53829 - alexcrichton:release-debuginfo, r=michaelwoeristerkennytm-2/+2
Add rustc SHA to released DWARF debuginfo This commit updates the debuginfo that is encoded in all of our released artifacts by default. Currently it has paths like `/checkout/src/...` but these are a little inconsistent and have changed over time. This commit instead attempts to actually define the file paths in our debuginfo to be consistent between releases. All debuginfo paths are now intended to be `/rustc/$sha` where `$sha` is the git sha of the released compiler. Sub-paths are all paths into the git repo at that `$sha`.
2018-09-10Add rustc SHA to released DWARF debuginfoAlex Crichton-2/+2
This commit updates the debuginfo that is encoded in all of our released artifacts by default. Currently it has paths like `/checkout/src/...` but these are a little inconsistent and have changed over time. This commit instead attempts to actually define the file paths in our debuginfo to be consistent between releases. All debuginfo paths are now intended to be `/rustc/$sha` where `$sha` is the git sha of the released compiler. Sub-paths are all paths into the git repo at that `$sha`.
2018-09-09merge cargo changes done by https://github.com/rust-lang/rust/pull/53935/Eric Huss-0/+2
(done by matthiaskrgr, but I authored ehuss)
2018-08-08[CI] run-make/thumb: remove a trailing space.Hideki Sekine-1/+1
2018-08-08[CI] run-make/thumb: remove hacky workaround.Hideki Sekine-1/+11
2018-08-02Update Cargo submoduleAlex Crichton-0/+2
Bring in some fixes for `cargo fix` notably
2018-07-29Copy the test_data/ RLS tests into a writable directory.kennytm-0/+7
See rust-lang-nursery/rls#966 for details.
2018-07-26Refactor is_external_tool into source_typeTatsuyuki Ishi-7/+7
2018-07-25bootstrap: use prepare_tool_cargo everywhereTatsuyuki Ishi-24/+22
In this way, RUSTC_NO_PREFER_DYNAMIC is already specified and not needed.
2018-07-25Deny bare_trait_objects globallyTatsuyuki Ishi-3/+6
2018-07-24Rollup merge of #52627 - Mark-Simulacrum:rustdoc-test-correct, r=alexcrichtonkennytm-0/+1
Compile rustc before building tests for rustdoc r? @alexcrichton
2018-07-22Compile rustc before building tests for rustdocMark Rousskov-0/+1
2018-07-21Treat no_std(target) == None case correctly.Hideki Sekine-1/+1
2018-07-18Fix rust issue #52163Hideki Sekine-1/+3
2018-07-03Compile stage0 tools with the raw bootstrap compilerAlex Crichton-1/+4
This commit updates the stage0 build of tools to use the libraries of the stage0 compiler instead of the compiled libraries by the stage0 compiler. This should enable us to avoid any stage0 hacks (like missing SIMD).
2018-07-03Fixed detection of test-fail for doctests.kennytm-8/+6
2018-06-22Handle current directory prefix for parsing command arguments in bootstrap ↵Steven Laabs-0/+6
test command.
2018-06-19Auto merge of #51367 - oli-obk:silence!_I_test_you, r=Mark-Simulacrumbors-7/+7
Use quiet tests by default r? @eddyb
2018-06-16Prevent Windows filesystem races in bootstrap testsMark Simulacrum-0/+3
2018-06-07quiet-tests -> !verbose-testsOliver Schneider-7/+7
2018-06-03impl is_tool on Mode enumCollins Abitekaniza-1/+1
make is_tool inherent prop of mode fix errors from rebase resolve issues from review
2018-06-03refactor mode to ToolRustc for Rls & RustfmtCollins Abitekaniza-2/+2
2018-06-03thread tool modes throughCollins Abitekaniza-10/+18
2018-06-03refactor Mode enumCollins Abitekaniza-11/+11
2018-06-02Rustdoc itself no longer requires proc macros to buildMark Simulacrum-2/+1
This avoids a full compiler build in order to build and/or run tests for rustdoc.
2018-05-30Run rustfmtSantiago Pastorino-150/+241
2018-05-30Add compare-mode to x.pySantiago Pastorino-1/+2
2018-05-17Make `bless` a flag instead of a subcommandOliver Schneider-7/+1
2018-05-17Add `bless` x.py subcommand for easy ui test replacementOliver Schneider-28/+24
2018-05-15Fix run-make wasm testsEric Huss-4/+4
Fixes #50711
2018-05-10Auto merge of #49729 - collin5:b48483, r=Mark-Simulacrumbors-2/+21
./x.py test should be able to run individual tests Allows user to be able to run individual tests by specifying filename i.e `./x.py test src/test/run-pass/foo.rs` Fixes #48483
2018-05-09ignore test-args if user specifies suite_pathCollins Abitekaniza-5/+1
2018-05-07./x.py test should be able to run individual testsCollins Abitekaniza-2/+25
trim and pass relative test paths as test-args use collect for getting test_args move suite_path to ShouldRun and make Option append existing args to test_args use enum for PathSet handle Suites differently from Paths Error out if part of test suite but not file refactor, make requested changes
2018-05-07Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichtonbors-4/+4
Add some groundwork for cross-language LTO. Implements part of #49879: - Adds a `-Z cross-lang-lto` flag to rustc - Makes sure that bitcode is embedded in object files if the flag is set. This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, `rustc` will not try to enable LTO for its own linker invocations yet. r? @alexcrichton
2018-05-06Auto merge of #50468 - nrc:test-rustfmt, r=alexcrichtonbors-0/+3
Pass a test directory to rustfmt Another attempt to fix the rustfmt tests. `RUSTFMT_TEST_DIR` is consumed by Rustfmt in the latext commit (thus the Rustfmt update) because we need a place to create temp files that won't be read-only. r? @alexcrichton
2018-05-06Pass a test directory to rustfmtNick Cameron-0/+3
2018-05-06s/DocTestsOption/DocTests/gkennytm-4/+4
2018-05-06Added test case.kennytm-7/+7
2018-05-06Added `./x.py test --no-doc` option.kennytm-3/+9
This enables `./x.py test --stage 0 src/libstd --no-doc` and ensures the stage2-rustc and rustdoc need to be built.
2018-05-04bootstrap: Fix LLVM bin path setup for Windows.Michael Woerister-11/+0
2018-05-03Make run-make host_test!().Michael Woerister-1/+1