Skip to content

Commit a3ef817

Browse files
committed
Add snapshot test for tier-check
1 parent 846e377 commit a3ef817

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/bootstrap/src/core/builder/tests.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,6 +2116,19 @@ mod snapshot {
21162116
");
21172117
}
21182118

2119+
#[test]
2120+
fn test_tier_check() {
2121+
let ctx = TestCtx::new();
2122+
insta::assert_snapshot!(
2123+
ctx.config("test")
2124+
.path("tier-check")
2125+
.render_steps(), @r"
2126+
[build] llvm <host>
2127+
[build] rustc 0 <host> -> rustc 1 <host>
2128+
[build] rustc 1 <host> -> std 1 <host>
2129+
");
2130+
}
2131+
21192132
#[test]
21202133
fn doc_all() {
21212134
let ctx = TestCtx::new();

0 commit comments

Comments
 (0)