Skip to content

Commit 67d70fd

Browse files
committed
Add snapshot test for tier-check
1 parent e8a792d commit 67d70fd

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
@@ -1930,6 +1930,19 @@ mod snapshot {
19301930
");
19311931
}
19321932

1933+
#[test]
1934+
fn test_tier_check() {
1935+
let ctx = TestCtx::new();
1936+
insta::assert_snapshot!(
1937+
ctx.config("test")
1938+
.path("tier-check")
1939+
.render_steps(), @r"
1940+
[build] llvm <host>
1941+
[build] rustc 0 <host> -> rustc 1 <host>
1942+
[build] rustc 1 <host> -> std 1 <host>
1943+
");
1944+
}
1945+
19331946
#[test]
19341947
fn doc_all() {
19351948
let ctx = TestCtx::new();

0 commit comments

Comments
 (0)