rust/tests/ui/conditional-compilation
许杰友 Jieyou Xu (Joe) 1faa95d289
Update UI tests which relied on old behavior of constructing a default error handler every time
`early_warn` is called

Skip `colored-session-opt-error.rs` on Windows hosts

This is very cursed as to why it fails on Windows CI specifically:

- The test emits a *warning*.
- *Warnings*, and only warnings *specifically*, have a different
  256-color between Windows and non-Windows hosts (other levels
  `set_intense(true)` unconditionally):

  e69c7306e2/compiler/rustc_errors/src/lib.rs (L1792-L1794)

Therefore, I added `// ignore-windows` test header to skip this test on
Windows (it's sufficient to test color is enabled on at least one
non-Windows host).
2023-06-29 23:31:25 +08:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-bugs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-bugs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-input-validation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-input-validation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-not_sure.edition2015.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-not_sure.edition2021.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-not_sure.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-private.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-stuck.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-stuck.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible-unstable.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_accessible.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg_attr_path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-1.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-arg-invalid-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-2.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-arg-invalid-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-4.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-arg-invalid-4.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-5.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-5.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-6.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-arg-invalid-6.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-7.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-7.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-8.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-arg-invalid-8.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-arg-invalid-9.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-arg-invalid-9.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-cfg-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-cfg-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-crate-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-crate-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-empty-is-unused.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-empty-is-unused.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-invalid-predicate.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-invalid-predicate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-false.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-invalid-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-invalid-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-invalid-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-invalid-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-true.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-multi-true.stderr error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
cfg-attr-parse.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-parse.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-syntax-validation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-syntax-validation.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-unknown-attribute-macro-expansion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-attr-unknown-attribute-macro-expansion.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-empty-codemap.rs Update UI tests which relied on old behavior of constructing a default error handler every time 2023-06-29 23:31:25 +08:00
cfg-empty-codemap.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-generic-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-generic-params.stderr Adjust tracking issue for non_lifetime_binders 2023-02-18 02:42:43 +00:00
cfg-in-crate-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-in-crate-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-non-opt-expr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cfg-non-opt-expr.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inner-cfg-non-inline-mod.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-34028.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
module_with_cfg.rs Add some reasons why tests are ignored. 2023-04-15 16:11:42 -07:00
test-cfg.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
test-cfg.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00