Skip to content

Commit 13e8313

Browse files
committed
bootstrap: use specific-purpose ui test path
I wanted to move some ui tests around, which broke `test_valid` since it was referencing a non-specific-purpose ui test.
1 parent 604d669 commit 13e8313

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ macro_rules! rustc {
9191
#[test]
9292
fn test_valid() {
9393
// make sure multi suite paths are accepted
94-
check_cli(["test", "tests/ui/attr-start.rs", "tests/ui/attr-shebang.rs"]);
94+
check_cli(["test", "tests/ui/bootstrap/self-test/a.rs", "tests/ui/bootstrap/self-test/b.rs"]);
9595
}
9696

9797
#[test]

tests/ui/bootstrap/self-test/a.rs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//! Not used by compiler, this is used by bootstrap cli self-test.
2+
//@ ignore-test

tests/ui/bootstrap/self-test/b.rs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//! Not used by compiler, used by bootstrap cli self-test.
2+
//@ ignore-test

0 commit comments

Comments
 (0)