Skip to content

Commit d0db082

Browse files
committed
Add several snapshot tests for path-to-step handling
1 parent 327f926 commit d0db082

34 files changed

+1531
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: build compiler
4+
---
5+
[Build] compile::Rustc
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({build::compiler/rustc_abi})
8+
- Set({build::compiler/rustc_arena})
9+
- Set({build::compiler/rustc_ast})
10+
- Set({build::compiler/rustc_ast_ir})
11+
- Set({build::compiler/rustc_ast_lowering})
12+
- Set({build::compiler/rustc_ast_passes})
13+
- Set({build::compiler/rustc_ast_pretty})
14+
- Set({build::compiler/rustc_attr_parsing})
15+
- Set({build::compiler/rustc_baked_icu_data})
16+
- Set({build::compiler/rustc_borrowck})
17+
- Set({build::compiler/rustc_builtin_macros})
18+
- Set({build::compiler/rustc_codegen_llvm})
19+
- Set({build::compiler/rustc_codegen_ssa})
20+
- Set({build::compiler/rustc_const_eval})
21+
- Set({build::compiler/rustc_data_structures})
22+
- Set({build::compiler/rustc_driver})
23+
- Set({build::compiler/rustc_driver_impl})
24+
- Set({build::compiler/rustc_error_codes})
25+
- Set({build::compiler/rustc_error_messages})
26+
- Set({build::compiler/rustc_errors})
27+
- Set({build::compiler/rustc_expand})
28+
- Set({build::compiler/rustc_feature})
29+
- Set({build::compiler/rustc_fluent_macro})
30+
- Set({build::compiler/rustc_fs_util})
31+
- Set({build::compiler/rustc_graphviz})
32+
- Set({build::compiler/rustc_hashes})
33+
- Set({build::compiler/rustc_hir})
34+
- Set({build::compiler/rustc_hir_analysis})
35+
- Set({build::compiler/rustc_hir_id})
36+
- Set({build::compiler/rustc_hir_pretty})
37+
- Set({build::compiler/rustc_hir_typeck})
38+
- Set({build::compiler/rustc_incremental})
39+
- Set({build::compiler/rustc_index})
40+
- Set({build::compiler/rustc_index_macros})
41+
- Set({build::compiler/rustc_infer})
42+
- Set({build::compiler/rustc_interface})
43+
- Set({build::compiler/rustc_lexer})
44+
- Set({build::compiler/rustc_lint})
45+
- Set({build::compiler/rustc_lint_defs})
46+
- Set({build::compiler/rustc_llvm})
47+
- Set({build::compiler/rustc_log})
48+
- Set({build::compiler/rustc_macros})
49+
- Set({build::compiler/rustc_metadata})
50+
- Set({build::compiler/rustc_middle})
51+
- Set({build::compiler/rustc_mir_build})
52+
- Set({build::compiler/rustc_mir_dataflow})
53+
- Set({build::compiler/rustc_mir_transform})
54+
- Set({build::compiler/rustc_monomorphize})
55+
- Set({build::compiler/rustc_next_trait_solver})
56+
- Set({build::compiler/rustc_parse})
57+
- Set({build::compiler/rustc_parse_format})
58+
- Set({build::compiler/rustc_passes})
59+
- Set({build::compiler/rustc_pattern_analysis})
60+
- Set({build::compiler/rustc_privacy})
61+
- Set({build::compiler/rustc_proc_macro})
62+
- Set({build::compiler/rustc_public})
63+
- Set({build::compiler/rustc_public_bridge})
64+
- Set({build::compiler/rustc_query_impl})
65+
- Set({build::compiler/rustc_query_system})
66+
- Set({build::compiler/rustc_resolve})
67+
- Set({build::compiler/rustc_sanitizers})
68+
- Set({build::compiler/rustc_serialize})
69+
- Set({build::compiler/rustc_session})
70+
- Set({build::compiler/rustc_span})
71+
- Set({build::compiler/rustc_symbol_mangling})
72+
- Set({build::compiler/rustc_target})
73+
- Set({build::compiler/rustc_thread_pool})
74+
- Set({build::compiler/rustc_trait_selection})
75+
- Set({build::compiler/rustc_traits})
76+
- Set({build::compiler/rustc_transmute})
77+
- Set({build::compiler/rustc_ty_utils})
78+
- Set({build::compiler/rustc_type_ir})
79+
- Set({build::compiler/rustc_type_ir_macros})
80+
- Set({build::compiler/rustc_windows_rc})
81+
[Build] compile::Assemble
82+
targets: [x86_64-unknown-linux-gnu]
83+
- Set({build::compiler})
84+
- Set({build::compiler/rustc})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: build compiletest
4+
---
5+
[Build] tool::Compiletest
6+
targets: [aarch64-unknown-linux-gnu]
7+
- Set({build::src/tools/compiletest})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: build llvm
4+
---
5+
[Build] llvm::Llvm
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({build::src/llvm-project/llvm})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: build rustc
4+
---
5+
[Build] compile::Assemble
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({build::compiler/rustc})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: build rustc_llvm
4+
---
5+
[Build] compile::Rustc
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({build::compiler/rustc_llvm})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: build rustdoc
4+
---
5+
[Build] tool::Rustdoc
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({build::src/tools/rustdoc})
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: check
4+
---
5+
[Check] check::Rustc
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({check::compiler})
8+
- Set({check::compiler/rustc})
9+
- Set({check::compiler/rustc_abi})
10+
- Set({check::compiler/rustc_arena})
11+
- Set({check::compiler/rustc_ast})
12+
- Set({check::compiler/rustc_ast_ir})
13+
- Set({check::compiler/rustc_ast_lowering})
14+
- Set({check::compiler/rustc_ast_passes})
15+
- Set({check::compiler/rustc_ast_pretty})
16+
- Set({check::compiler/rustc_attr_parsing})
17+
- Set({check::compiler/rustc_baked_icu_data})
18+
- Set({check::compiler/rustc_borrowck})
19+
- Set({check::compiler/rustc_builtin_macros})
20+
- Set({check::compiler/rustc_codegen_llvm})
21+
- Set({check::compiler/rustc_codegen_ssa})
22+
- Set({check::compiler/rustc_const_eval})
23+
- Set({check::compiler/rustc_data_structures})
24+
- Set({check::compiler/rustc_driver})
25+
- Set({check::compiler/rustc_driver_impl})
26+
- Set({check::compiler/rustc_error_codes})
27+
- Set({check::compiler/rustc_error_messages})
28+
- Set({check::compiler/rustc_errors})
29+
- Set({check::compiler/rustc_expand})
30+
- Set({check::compiler/rustc_feature})
31+
- Set({check::compiler/rustc_fluent_macro})
32+
- Set({check::compiler/rustc_fs_util})
33+
- Set({check::compiler/rustc_graphviz})
34+
- Set({check::compiler/rustc_hashes})
35+
- Set({check::compiler/rustc_hir})
36+
- Set({check::compiler/rustc_hir_analysis})
37+
- Set({check::compiler/rustc_hir_id})
38+
- Set({check::compiler/rustc_hir_pretty})
39+
- Set({check::compiler/rustc_hir_typeck})
40+
- Set({check::compiler/rustc_incremental})
41+
- Set({check::compiler/rustc_index})
42+
- Set({check::compiler/rustc_index_macros})
43+
- Set({check::compiler/rustc_infer})
44+
- Set({check::compiler/rustc_interface})
45+
- Set({check::compiler/rustc_lexer})
46+
- Set({check::compiler/rustc_lint})
47+
- Set({check::compiler/rustc_lint_defs})
48+
- Set({check::compiler/rustc_llvm})
49+
- Set({check::compiler/rustc_log})
50+
- Set({check::compiler/rustc_macros})
51+
- Set({check::compiler/rustc_metadata})
52+
- Set({check::compiler/rustc_middle})
53+
- Set({check::compiler/rustc_mir_build})
54+
- Set({check::compiler/rustc_mir_dataflow})
55+
- Set({check::compiler/rustc_mir_transform})
56+
- Set({check::compiler/rustc_monomorphize})
57+
- Set({check::compiler/rustc_next_trait_solver})
58+
- Set({check::compiler/rustc_parse})
59+
- Set({check::compiler/rustc_parse_format})
60+
- Set({check::compiler/rustc_passes})
61+
- Set({check::compiler/rustc_pattern_analysis})
62+
- Set({check::compiler/rustc_privacy})
63+
- Set({check::compiler/rustc_proc_macro})
64+
- Set({check::compiler/rustc_public})
65+
- Set({check::compiler/rustc_public_bridge})
66+
- Set({check::compiler/rustc_query_impl})
67+
- Set({check::compiler/rustc_query_system})
68+
- Set({check::compiler/rustc_resolve})
69+
- Set({check::compiler/rustc_sanitizers})
70+
- Set({check::compiler/rustc_serialize})
71+
- Set({check::compiler/rustc_session})
72+
- Set({check::compiler/rustc_span})
73+
- Set({check::compiler/rustc_symbol_mangling})
74+
- Set({check::compiler/rustc_target})
75+
- Set({check::compiler/rustc_thread_pool})
76+
- Set({check::compiler/rustc_trait_selection})
77+
- Set({check::compiler/rustc_traits})
78+
- Set({check::compiler/rustc_transmute})
79+
- Set({check::compiler/rustc_ty_utils})
80+
- Set({check::compiler/rustc_type_ir})
81+
- Set({check::compiler/rustc_type_ir_macros})
82+
- Set({check::compiler/rustc_windows_rc})
83+
[Check] check::Rustdoc
84+
targets: [x86_64-unknown-linux-gnu]
85+
- Set({check::src/librustdoc, check::src/tools/rustdoc})
86+
[Check] check::CraneliftCodegenBackend
87+
targets: [x86_64-unknown-linux-gnu]
88+
- Set({check::cg_clif})
89+
- Set({check::rustc_codegen_cranelift})
90+
[Check] check::GccCodegenBackend
91+
targets: [x86_64-unknown-linux-gnu]
92+
- Set({check::cg_gcc})
93+
- Set({check::rustc_codegen_gcc})
94+
[Check] check::Clippy
95+
targets: [x86_64-unknown-linux-gnu]
96+
- Set({check::src/tools/clippy})
97+
[Check] check::Miri
98+
targets: [x86_64-unknown-linux-gnu]
99+
- Set({check::src/tools/miri})
100+
[Check] check::CargoMiri
101+
targets: [x86_64-unknown-linux-gnu]
102+
- Set({check::src/tools/miri/cargo-miri})
103+
[Check] check::MiroptTestTools
104+
targets: [x86_64-unknown-linux-gnu]
105+
- Set({check::src/tools/miropt-test-tools})
106+
[Check] check::Rustfmt
107+
targets: [x86_64-unknown-linux-gnu]
108+
- Set({check::src/tools/rustfmt})
109+
[Check] check::RustAnalyzer
110+
targets: [x86_64-unknown-linux-gnu]
111+
- Set({check::src/tools/rust-analyzer})
112+
[Check] check::TestFloatParse
113+
targets: [x86_64-unknown-linux-gnu]
114+
- Set({check::src/tools/test-float-parse})
115+
[Check] check::FeaturesStatusDump
116+
targets: [x86_64-unknown-linux-gnu]
117+
- Set({check::src/tools/features-status-dump})
118+
[Check] check::Std
119+
targets: [aarch64-unknown-linux-gnu]
120+
- Set({check::library})
121+
- Set({check::library/alloc})
122+
- Set({check::library/alloctests})
123+
- Set({check::library/compiler-builtins/compiler-builtins})
124+
- Set({check::library/core})
125+
- Set({check::library/coretests})
126+
- Set({check::library/panic_abort})
127+
- Set({check::library/panic_unwind})
128+
- Set({check::library/proc_macro})
129+
- Set({check::library/rustc-std-workspace-core})
130+
- Set({check::library/std})
131+
- Set({check::library/std_detect})
132+
- Set({check::library/sysroot})
133+
- Set({check::library/test})
134+
- Set({check::library/unwind})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: check bootstrap
4+
---
5+
[Check] check::Bootstrap
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({check::src/bootstrap})
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: check compiler
4+
---
5+
[Check] check::Rustc
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({check::compiler})
8+
- Set({check::compiler/rustc})
9+
- Set({check::compiler/rustc_abi})
10+
- Set({check::compiler/rustc_arena})
11+
- Set({check::compiler/rustc_ast})
12+
- Set({check::compiler/rustc_ast_ir})
13+
- Set({check::compiler/rustc_ast_lowering})
14+
- Set({check::compiler/rustc_ast_passes})
15+
- Set({check::compiler/rustc_ast_pretty})
16+
- Set({check::compiler/rustc_attr_parsing})
17+
- Set({check::compiler/rustc_baked_icu_data})
18+
- Set({check::compiler/rustc_borrowck})
19+
- Set({check::compiler/rustc_builtin_macros})
20+
- Set({check::compiler/rustc_codegen_llvm})
21+
- Set({check::compiler/rustc_codegen_ssa})
22+
- Set({check::compiler/rustc_const_eval})
23+
- Set({check::compiler/rustc_data_structures})
24+
- Set({check::compiler/rustc_driver})
25+
- Set({check::compiler/rustc_driver_impl})
26+
- Set({check::compiler/rustc_error_codes})
27+
- Set({check::compiler/rustc_error_messages})
28+
- Set({check::compiler/rustc_errors})
29+
- Set({check::compiler/rustc_expand})
30+
- Set({check::compiler/rustc_feature})
31+
- Set({check::compiler/rustc_fluent_macro})
32+
- Set({check::compiler/rustc_fs_util})
33+
- Set({check::compiler/rustc_graphviz})
34+
- Set({check::compiler/rustc_hashes})
35+
- Set({check::compiler/rustc_hir})
36+
- Set({check::compiler/rustc_hir_analysis})
37+
- Set({check::compiler/rustc_hir_id})
38+
- Set({check::compiler/rustc_hir_pretty})
39+
- Set({check::compiler/rustc_hir_typeck})
40+
- Set({check::compiler/rustc_incremental})
41+
- Set({check::compiler/rustc_index})
42+
- Set({check::compiler/rustc_index_macros})
43+
- Set({check::compiler/rustc_infer})
44+
- Set({check::compiler/rustc_interface})
45+
- Set({check::compiler/rustc_lexer})
46+
- Set({check::compiler/rustc_lint})
47+
- Set({check::compiler/rustc_lint_defs})
48+
- Set({check::compiler/rustc_llvm})
49+
- Set({check::compiler/rustc_log})
50+
- Set({check::compiler/rustc_macros})
51+
- Set({check::compiler/rustc_metadata})
52+
- Set({check::compiler/rustc_middle})
53+
- Set({check::compiler/rustc_mir_build})
54+
- Set({check::compiler/rustc_mir_dataflow})
55+
- Set({check::compiler/rustc_mir_transform})
56+
- Set({check::compiler/rustc_monomorphize})
57+
- Set({check::compiler/rustc_next_trait_solver})
58+
- Set({check::compiler/rustc_parse})
59+
- Set({check::compiler/rustc_parse_format})
60+
- Set({check::compiler/rustc_passes})
61+
- Set({check::compiler/rustc_pattern_analysis})
62+
- Set({check::compiler/rustc_privacy})
63+
- Set({check::compiler/rustc_proc_macro})
64+
- Set({check::compiler/rustc_public})
65+
- Set({check::compiler/rustc_public_bridge})
66+
- Set({check::compiler/rustc_query_impl})
67+
- Set({check::compiler/rustc_query_system})
68+
- Set({check::compiler/rustc_resolve})
69+
- Set({check::compiler/rustc_sanitizers})
70+
- Set({check::compiler/rustc_serialize})
71+
- Set({check::compiler/rustc_session})
72+
- Set({check::compiler/rustc_span})
73+
- Set({check::compiler/rustc_symbol_mangling})
74+
- Set({check::compiler/rustc_target})
75+
- Set({check::compiler/rustc_thread_pool})
76+
- Set({check::compiler/rustc_trait_selection})
77+
- Set({check::compiler/rustc_traits})
78+
- Set({check::compiler/rustc_transmute})
79+
- Set({check::compiler/rustc_ty_utils})
80+
- Set({check::compiler/rustc_type_ir})
81+
- Set({check::compiler/rustc_type_ir_macros})
82+
- Set({check::compiler/rustc_windows_rc})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
source: src/bootstrap/src/core/builder/cli_paths/tests.rs
3+
expression: check compiletest
4+
---
5+
[Check] check::Compiletest
6+
targets: [x86_64-unknown-linux-gnu]
7+
- Set({check::src/tools/compiletest})

0 commit comments

Comments
 (0)