diff options
| author | Ralf Jung <post@ralfj.de> | 2024-04-20 13:19:34 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-04-20 13:19:34 +0200 |
| commit | 75d0fdd96713874703998cb06dae67ab09b7897e (patch) | |
| tree | c241518019456d197bf8e6be07b9fe6a6a41b443 /src/tools/compiletest | |
| parent | a61b14d15e4a742fb9d117d089626f5275a286c4 (diff) | |
| download | rust-75d0fdd96713874703998cb06dae67ab09b7897e.tar.gz rust-75d0fdd96713874703998cb06dae67ab09b7897e.zip | |
mir-opt tests: rename unit-test -> test-mir-pass
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index f5d7ce1c5f9..8aafbb3e399 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -244,7 +244,7 @@ mod directives { pub const STDERR_PER_BITWIDTH: &'static str = "stderr-per-bitwidth"; pub const INCREMENTAL: &'static str = "incremental"; pub const KNOWN_BUG: &'static str = "known-bug"; - pub const MIR_UNIT_TEST: &'static str = "unit-test"; + pub const TEST_MIR_PASS: &'static str = "test-mir-pass"; pub const REMAP_SRC_BASE: &'static str = "remap-src-base"; pub const COMPARE_OUTPUT_LINES_BY_SUBSET: &'static str = "compare-output-lines-by-subset"; pub const LLVM_COV_FLAGS: &'static str = "llvm-cov-flags"; @@ -549,7 +549,7 @@ impl TestProps { config.set_name_value_directive( ln, - MIR_UNIT_TEST, + TEST_MIR_PASS, &mut self.mir_unit_test, |s| s.trim().to_string(), ); @@ -922,7 +922,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "should-fail", "should-ice", "stderr-per-bitwidth", - "unit-test", + "test-mir-pass", "unset-exec-env", "unset-rustc-env", // tidy-alphabetical-end |
