Skip to content

Commit

Permalink
bootstrap: use specific-purpose ui test path
Browse files Browse the repository at this point in the history
I wanted to move some ui tests around, which broke `test_valid` since it
was referencing a non-specific-purpose ui test.
  • Loading branch information
jieyouxu committed Dec 17, 2024
1 parent 604d669 commit 13e8313
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/builder/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ macro_rules! rustc {
#[test]
fn test_valid() {
// make sure multi suite paths are accepted
check_cli(["test", "tests/ui/attr-start.rs", "tests/ui/attr-shebang.rs"]);
check_cli(["test", "tests/ui/bootstrap/self-test/a.rs", "tests/ui/bootstrap/self-test/b.rs"]);
}

#[test]
Expand Down
2 changes: 2 additions & 0 deletions tests/ui/bootstrap/self-test/a.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//! Not used by compiler, this is used by bootstrap cli self-test.
//@ ignore-test
2 changes: 2 additions & 0 deletions tests/ui/bootstrap/self-test/b.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
//! Not used by compiler, used by bootstrap cli self-test.
//@ ignore-test

0 comments on commit 13e8313

Please sign in to comment.