Skip to content

Commit

Permalink
tests: CGU tests require build-pass, not check-pass (remove FIXME)
Browse files Browse the repository at this point in the history
CGU tests require CGU code to be exercised. We can't merely do "cargo
check" on these tests.
  • Loading branch information
Enselic committed Dec 12, 2023
1 parent 5b8bc56 commit 41c9404
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/incremental/thinlto/cgu_invalidated_via_import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
// build-pass

#![feature(rustc_attrs)]
#![crate_type="rlib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/incremental/thinlto/cgu_keeps_identical_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
// build-pass

#![feature(rustc_attrs)]
#![crate_type = "rlib"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
// build-pass

#![feature(rustc_attrs)]
#![crate_type="rlib"]
Expand Down

0 comments on commit 41c9404

Please sign in to comment.