Skip to content

Commit fb13423

Browse files
committed
chore: Remove windows specific svg color tests
1 parent f60140e commit fb13423

6 files changed

Lines changed: 2 additions & 297 deletions

File tree

‎src/tools/compiletest/src/common.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,6 @@ pub(crate) fn expected_output_path(
12821282
pub(crate) const UI_EXTENSIONS: &[&str] = &[
12831283
UI_STDERR,
12841284
UI_SVG,
1285-
UI_WINDOWS_SVG,
12861285
UI_STDOUT,
12871286
UI_FIXED,
12881287
UI_RUN_STDERR,
@@ -1295,7 +1294,6 @@ pub(crate) const UI_EXTENSIONS: &[&str] = &[
12951294
];
12961295
pub(crate) const UI_STDERR: &str = "stderr";
12971296
pub(crate) const UI_SVG: &str = "svg";
1298-
pub(crate) const UI_WINDOWS_SVG: &str = "windows.svg";
12991297
pub(crate) const UI_STDOUT: &str = "stdout";
13001298
pub(crate) const UI_FIXED: &str = "fixed";
13011299
pub(crate) const UI_RUN_STDERR: &str = "run.stderr";

‎src/tools/compiletest/src/runtest.rs‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use tracing::*;
1616
use crate::common::{
1717
CompareMode, Config, Debugger, ForcePassMode, PassFailMode, RunResult, TestMode, TestPaths,
1818
TestSuite, UI_EXTENSIONS, UI_FIXED, UI_RUN_STDERR, UI_RUN_STDOUT, UI_STDERR, UI_STDOUT, UI_SVG,
19-
UI_WINDOWS_SVG, expected_output_path, incremental_dir, output_base_dir, output_base_name,
19+
expected_output_path, incremental_dir, output_base_dir, output_base_name,
2020
};
2121
use crate::directives::{AuxCrate, TestProps};
2222
use crate::edition::Edition;
@@ -2465,13 +2465,7 @@ impl<'test> TestCx<'test> {
24652465
let (stderr_kind, stdout_kind) = match output_kind {
24662466
TestOutput::Compile => (
24672467
if self.force_color_svg() {
2468-
if self.config.target.contains("windows") {
2469-
// We single out Windows here because some of the CLI coloring is
2470-
// specifically changed for Windows.
2471-
UI_WINDOWS_SVG
2472-
} else {
2473-
UI_SVG
2474-
}
2468+
UI_SVG
24752469
} else if self.props.stderr_per_bitwidth {
24762470
&stderr_bits
24772471
} else {

‎tests/ui/diagnostic-flags/terminal_urls.windows.svg‎

Lines changed: 0 additions & 48 deletions
This file was deleted.

‎tests/ui/error-emitter/highlighting.windows.svg‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

‎tests/ui/error-emitter/multiline-multipart-suggestion.windows.svg‎

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)