diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2022-06-21 19:28:04 -0400 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2022-06-29 18:55:02 -0500 |
| commit | b3d4fb448c79240785d8ccd78b73d40c59fc5071 (patch) | |
| tree | 66082794b608243ce4cbe070eb0be313ce7eb4e9 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | c4416f20dcaec5d93077f72470e83e150fb923b1 (diff) | |
| download | rust-b3d4fb448c79240785d8ccd78b73d40c59fc5071.tar.gz rust-b3d4fb448c79240785d8ccd78b73d40c59fc5071.zip | |
Allow `#[ignore]` tests to run in rustfmt's test suite
There are some tests in the rustfmt test suite that are ignored by default. I believe these tests are ignored because they have caused issues with the the `rust-lang/rust` test suite. However, we recently experienced an issue (5395) that would have been avoided had these tests been running. With the introduction of the new `#[rustfmt_only_ci_test]` attribute macro we can run these tests when the `RUSTFMT_CI` environment variable is set, which will presumably only be set during rustfmts CI runs. When the environment variable is not set the `#[rustfmt_only_ci_test]` will be replaced with an `#[ignore]`.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
