- 28 2月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
-
- 21 2月, 2021 1 次提交
-
-
由 Guillaume Gomez 提交于
-
- 15 2月, 2021 1 次提交
-
-
由 Joshua Nelson 提交于
Previously, there two different ways to encode the same info: `None` or `Some(&[])`. Now there is only one way, `&[]`.
-
- 01 2月, 2021 1 次提交
-
-
由 Eric Huss 提交于
-
- 30 1月, 2021 1 次提交
-
-
由 Tomasz Miąsko 提交于
-
- 28 1月, 2021 1 次提交
-
-
由 Amanieu d'Antras 提交于
Newly added targets aren't available on the stage0 toolchain.
-
- 20 1月, 2021 3 次提交
-
-
由 Rune Tynan 提交于
-
由 Rune Tynan 提交于
-
由 Rune Tynan 提交于
-
- 04 1月, 2021 1 次提交
-
-
由 Dániel Buga 提交于
-
- 31 12月, 2020 2 次提交
-
-
由 Pietro Albini 提交于
The struct will allow to store more context on the generated tarballs.
-
由 Matthias Krüger 提交于
addresses: clippy::or_fun_call clippy::single_char_add_str clippy::comparison_to_empty clippy::or_fun_call
-
- 30 12月, 2020 2 次提交
-
-
由 Pietro Albini 提交于
-
由 Vadim Petrochenkov 提交于
-
- 16 12月, 2020 1 次提交
-
-
由 David Wood 提交于
This commit adds a Split DWARF compare mode to compiletest so that debuginfo tests are also tested using Split DWARF in split mode (and manually in single mode). Signed-off-by: NDavid Wood <david@davidtw.co>
-
- 02 12月, 2020 1 次提交
-
-
由 Nixon Enraght-Moony 提交于
Move rustdoc/rustdoc-json to rustdoc-json Scaffold rustdoc-json test mode Implement run_rustdoc_json_test Fix up python Make tidy happy
-
- 29 11月, 2020 2 次提交
-
-
由 Joshua Nelson 提交于
This also changes the builder to allow using `x.py test src/test/rustdoc-ui/intra-doc`; before, it would panic that no paths were found.
-
由 Eric Huss 提交于
-
- 19 11月, 2020 1 次提交
-
-
由 Josh Stone 提交于
We already set `compiletest` to use the local sysroot in #68019, but that missed the configuration for testing `compiletest` itself.
-
- 04 11月, 2020 1 次提交
-
-
由 Mark Rousskov 提交于
Especially on CI, where cross-compiling is common and single builder may end up with multiple hosts and multiple targets, it can be annoying to scroll back to the nearest start of test marker. This prints out a summary of the test suite being run directly in compiletest.
-
- 03 11月, 2020 2 次提交
-
-
由 bjorn3 提交于
-
由 Joshua Nelson 提交于
-
- 26 10月, 2020 1 次提交
-
-
由 12101111 提交于
-
- 19 10月, 2020 1 次提交
-
-
由 Jonas Schievink 提交于
This allows moving a lot of run-make-fulldeps tests to just run-make tests, and allows running those on target-only platforms
-
- 13 10月, 2020 1 次提交
-
-
由 Joshua Nelson 提交于
-
- 21 9月, 2020 2 次提交
-
-
由 Mark Rousskov 提交于
-
由 Mark Rousskov 提交于
-
- 18 9月, 2020 1 次提交
-
-
由 Pietro Albini 提交于
The Rust version number is currently embedded in bootstrap's source code, which makes it hard to update it automatically or access it outside of ./x.py (as you'd have to parse the source code). This commit moves the version number to a standalone plaintext file, which makes accessing or updating it trivial.
-
- 15 9月, 2020 2 次提交
-
-
由 Mark Rousskov 提交于
This uses a dummy file to check if the filesystem being used supports the executable bit in general.
-
由 Eric Huss 提交于
-
- 11 9月, 2020 1 次提交
-
-
由 Mark Rousskov 提交于
rustc is a natively cross-compiling compiler, and generally none of our steps should care whether they are using a compiler built of triple A or B, just the --target directive being passed to the running compiler. e.g., when building for some target C, you don't generally want to build two stds: one with a host A compiler and the other with a host B compiler. Just one std is sufficient.
-
- 07 9月, 2020 4 次提交
-
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
由 Vadim Petrochenkov 提交于
-
- 30 8月, 2020 1 次提交
-
-
由 mark 提交于
-
- 29 8月, 2020 1 次提交
-
-
由 Aleksey Kladov 提交于
See #75773 and #75775
-
- 24 8月, 2020 1 次提交
-
-
由 Aleksey Kladov 提交于
Snapshot testing is a technique for writing maintainable unit tests. Unlike usual `assert_eq!` tests, snapshot tests allow to *automatically* upgrade expected values on test failure. In a sense, snapshot tests are inline-version of our beloved UI-tests. Example: ![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif) A particular library we use, `expect_test` provides an `expect!` macro, which creates a sort of self-updating string literal (by using `file!` macro). Self-update is triggered by setting `UPDATE_EXPECT` environmental variable (this info is printed during the test failure). This library was extracted from rust-analyzer, where we use it for most of our tests. There are some other, more popular snapshot testing libraries: * https://github.com/mitsuhiko/insta * https://github.com/aaronabramov/k9 The main differences of `expect` are: * first-class snapshot objects (so, tests can be written as functions, rather than as macros) * focus on inline-snapshots (but file snapshots are also supported) * restricted feature set (only `assert_eq` and `assert_debug_eq`) * no extra runtime (ie, no `cargo insta`) See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a an extended comparison. It is unclear if this testing style will stick with rustc in the long run. At the moment, rustc is mainly tested via integrated UI tests. But in the library-ified world, unit-tests will become somewhat more important (that's why use use `rustc_lexer` library-ified library as an example in this PR). Given that the cost of removal shouldn't be too high, it probably makes sense to just see if this flies!
-
- 15 8月, 2020 1 次提交
-
-
由 Eric Huss 提交于
-
- 12 8月, 2020 1 次提交
-
-
由 Eric Huss 提交于
-