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
cfg_accessible-bugs.rs
cfg_accessible-bugs.stderr
cfg_accessible-input-validation.rs
cfg_accessible-input-validation.stderr
cfg_accessible-not_sure.edition2015.stderr
cfg_accessible-not_sure.edition2021.stderr
cfg_accessible-not_sure.rs
cfg_accessible-private.rs
cfg_accessible-stuck.rs
cfg_accessible-stuck.stderr
cfg_accessible-unstable.rs
cfg_accessible-unstable.stderr
cfg_accessible.rs
cfg_accessible.stderr
cfg_attr_path.rs
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
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
cfg-arg-invalid-3.rs
cfg-arg-invalid-3.stderr
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
cfg-arg-invalid-5.rs
cfg-arg-invalid-5.stderr
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
cfg-arg-invalid-7.rs
cfg-arg-invalid-7.stderr
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
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
cfg-attr-cfg-2.rs
cfg-attr-cfg-2.stderr
cfg-attr-crate-2.rs
cfg-attr-crate-2.stderr
cfg-attr-empty-is-unused.rs
cfg-attr-empty-is-unused.stderr
cfg-attr-invalid-predicate.rs
cfg-attr-invalid-predicate.stderr
cfg-attr-multi-false.rs
cfg-attr-multi-invalid-1.rs
cfg-attr-multi-invalid-1.stderr
cfg-attr-multi-invalid-2.rs
cfg-attr-multi-invalid-2.stderr
cfg-attr-multi-true.rs
cfg-attr-multi-true.stderr error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
cfg-attr-parse.rs
cfg-attr-parse.stderr
cfg-attr-syntax-validation.rs
cfg-attr-syntax-validation.stderr
cfg-attr-unknown-attribute-macro-expansion.rs
cfg-attr-unknown-attribute-macro-expansion.stderr
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
cfg-generic-params.rs
cfg-generic-params.stderr Adjust tracking issue for non_lifetime_binders 2023-02-18 02:42:43 +00:00
cfg-in-crate-1.rs
cfg-in-crate-1.stderr
cfg-non-opt-expr.rs
cfg-non-opt-expr.stderr
inner-cfg-non-inline-mod.rs
issue-34028.rs
module_with_cfg.rs Add some reasons why tests are ignored. 2023-04-15 16:11:42 -07:00
test-cfg.rs
test-cfg.stderr