Skip to content

Commit 9193497

Browse files
authored
Rollup merge of rust-lang#62317 - JohnTitor:move-tests-to-build-pass, r=Centril
Migrate `compile-pass` annotations to `build-pass` This is a part of rust-lang#62277. As a first step, the `compile-pass` tests are migrated to `build-pass`. r? @cramertj cc @Centril
2 parents 4049a3c + c004451 commit 9193497

File tree

711 files changed

+716
-716
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

711 files changed

+716
-716
lines changed

src/test/incremental/add_private_fn_at_krate_root_cc/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// revisions:cfail1 cfail2
66
// compile-flags: -Z query-dep-graph
77
// aux-build:point.rs
8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99

1010
#![feature(rustc_attrs)]
1111
#![feature(stmt_expr_attributes)]

src/test/incremental/change_add_field/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// revisions:cfail1 cfail2
77
// compile-flags: -Z query-dep-graph
8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99

1010
#![feature(rustc_attrs)]
1111
#![feature(stmt_expr_attributes)]

src/test/incremental/change_crate_dep_kind.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// revisions:cfail1 cfail2
55
// compile-flags: -Z query-dep-graph -Cpanic=unwind
6-
// compile-pass
6+
// build-pass (FIXME(62277): could be check-pass?)
77

88
#![feature(panic_unwind)]
99

src/test/incremental/change_private_fn/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// revisions:cfail1 cfail2
55
// compile-flags: -Z query-dep-graph
6-
// compile-pass
6+
// build-pass (FIXME(62277): could be check-pass?)
77

88
#![feature(rustc_attrs)]
99
#![feature(stmt_expr_attributes)]

src/test/incremental/change_private_fn_cc/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// revisions:cfail1 cfail2
55
// compile-flags: -Z query-dep-graph
66
// aux-build:point.rs
7-
// compile-pass
7+
// build-pass (FIXME(62277): could be check-pass?)
88

99
#![crate_type = "rlib"]
1010
#![feature(rustc_attrs)]

src/test/incremental/change_private_impl_method/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// revisions:cfail1 cfail2
55
// compile-flags: -Z query-dep-graph
6-
// compile-pass
6+
// build-pass (FIXME(62277): could be check-pass?)
77

88
#![feature(rustc_attrs)]
99
#![feature(stmt_expr_attributes)]

src/test/incremental/change_private_impl_method_cc/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// revisions:cfail1 cfail2
55
// compile-flags: -Z query-dep-graph
66
// aux-build:point.rs
7-
// compile-pass
7+
// build-pass (FIXME(62277): could be check-pass?)
88

99
#![crate_type = "rlib"]
1010
#![feature(rustc_attrs)]

src/test/incremental/change_pub_inherent_method_body/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// revisions:cfail1 cfail2
44
// compile-flags: -Z query-dep-graph
5-
// compile-pass
5+
// build-pass (FIXME(62277): could be check-pass?)
66

77
#![crate_type = "rlib"]
88
#![feature(rustc_attrs)]

src/test/incremental/change_pub_inherent_method_sig/struct_point.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// revisions:cfail1 cfail2
44
// compile-flags: -Z query-dep-graph
5-
// compile-pass
5+
// build-pass (FIXME(62277): could be check-pass?)
66

77
#![crate_type = "rlib"]
88
#![feature(rustc_attrs)]

src/test/incremental/hashes/call_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/closure_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/enum_constructors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/enum_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// results in a change of the ICH for the enum's metadata, and that it stays
1111
// the same between rev2 and rev3.
1212

13-
// compile-pass
13+
// build-pass (FIXME(62277): could be check-pass?)
1414
// revisions: cfail1 cfail2 cfail3
1515
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1616

src/test/incremental/hashes/exported_vs_not.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-pass
1+
// build-pass (FIXME(62277): could be check-pass?)
22
// revisions: cfail1 cfail2 cfail3
33
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
44

src/test/incremental/hashes/extern_mods.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/for_loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/function_interfaces.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/if_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/indexing_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/inherent_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/inline_asm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/let_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/loop_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/match_expressions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/panic_exprs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// and make sure that the hash has changed, then change nothing between rev2 and
99
// rev3 and make sure that the hash has not changed.
1010

11-
// compile-pass
11+
// build-pass (FIXME(62277): could be check-pass?)
1212
// revisions: cfail1 cfail2 cfail3
1313
// compile-flags: -Z query-dep-graph -C debug-assertions
1414

src/test/incremental/hashes/statics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/struct_constructors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/struct_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// results in a change of the ICH for the struct's metadata, and that it stays
1111
// the same between rev2 and rev3.
1212

13-
// compile-pass
13+
// build-pass (FIXME(62277): could be check-pass?)
1414
// revisions: cfail1 cfail2 cfail3
1515
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1616

src/test/incremental/hashes/trait_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// results in a change of the ICH for the trait's metadata, and that it stays
1111
// the same between rev2 and rev3.
1212

13-
// compile-pass
13+
// build-pass (FIXME(62277): could be check-pass?)
1414
// revisions: cfail1 cfail2 cfail3
1515
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1616

src/test/incremental/hashes/trait_impls.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/type_defs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// results in a change of the ICH for the enum's metadata, and that it stays
1111
// the same between rev2 and rev3.
1212

13-
// compile-pass
13+
// build-pass (FIXME(62277): could be check-pass?)
1414
// revisions: cfail1 cfail2 cfail3
1515
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1616

src/test/incremental/hashes/unary_and_binary_exprs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/while_let_loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/hashes/while_loops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// and make sure that the hash has changed, then change nothing between rev2 and
66
// rev3 and make sure that the hash has not changed.
77

8-
// compile-pass
8+
// build-pass (FIXME(62277): could be check-pass?)
99
// revisions: cfail1 cfail2 cfail3
1010
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
1111

src/test/incremental/ich_nested_items.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// the nested items (or even added new ones).
33

44
// revisions: cfail1 cfail2
5-
// compile-pass
5+
// build-pass (FIXME(62277): could be check-pass?)
66

77
#![crate_type = "rlib"]
88
#![feature(rustc_attrs)]

src/test/incremental/incremental_proc_macro.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// aux-build:incremental_proc_macro_aux.rs
22
// revisions: cfail1 cfail2
3-
// compile-pass
3+
// build-pass (FIXME(62277): could be check-pass?)
44

55
// This test makes sure that we still find the proc-macro registrar function
66
// when we compile proc-macros incrementally (see #47292).

src/test/incremental/issue-42602.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// revisions:cfail1 cfail2 cfail3
1010
// compile-flags:-Zquery-dep-graph
11-
// compile-pass
11+
// build-pass (FIXME(62277): could be check-pass?)
1212

1313
#![feature(rustc_attrs)]
1414

src/test/incremental/issue-49595/issue-49595.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// revisions:cfail1 cfail2 cfail3
22
// compile-flags: -Z query-dep-graph --test
3-
// compile-pass
3+
// build-pass (FIXME(62277): could be check-pass?)
44

55
#![feature(rustc_attrs)]
66
#![crate_type = "rlib"]

src/test/incremental/issue-59523-on-implemented-is-not-unused.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// subsequent runs) if incremental compilation is enabled.
44

55
// revisions: cfail1 cfail2
6-
// compile-pass
6+
// build-pass (FIXME(62277): could be check-pass?)
77

88
#![feature(on_unimplemented)]
99
#![deny(unused_attributes)]

src/test/incremental/issue-59524-layout-scalar-valid-range-is-not-unused.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// enabled.
55

66
// revisions: cfail1 cfail2
7-
// compile-pass
7+
// build-pass (FIXME(62277): could be check-pass?)
88

99
#![feature(rustc_attrs)]
1010
#![deny(unused_attributes)]

src/test/incremental/krate-inherent.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// revisions: cfail1 cfail2
22
// compile-flags: -Z query-dep-graph
3-
// compile-pass
3+
// build-pass (FIXME(62277): could be check-pass?)
44

55
#![allow(warnings)]
66
#![feature(rustc_attrs)]

src/test/incremental/macro_export.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// revisions: cfail1 cfail2 cfail3
2-
// compile-pass
2+
// build-pass (FIXME(62277): could be check-pass?)
33

44
// This test case makes sure that we can compile with incremental compilation
55
// enabled when there are macros exported from this crate. (See #37756)

src/test/incremental/remove_source_file/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Note that we specify -g so that the SourceFiles actually get referenced by the
77
// incr. comp. cache:
88
// compile-flags: -Z query-dep-graph -g
9-
// compile-pass
9+
// build-pass (FIXME(62277): could be check-pass?)
1010

1111
#![crate_type= "rlib"]
1212

src/test/incremental/string_constant.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// revisions: cfail1 cfail2
22
// compile-flags: -Z query-dep-graph
3-
// compile-pass
3+
// build-pass (FIXME(62277): could be check-pass?)
44

55
#![allow(warnings)]
66
#![feature(rustc_attrs)]

0 commit comments

Comments
 (0)