Rollup merge of #134423 - jieyouxu:bootstrap-test-valid, r=onur-ozkan
bootstrap: use specific-purpose ui test path for `test_valid` self-test I wanted to move some ui tests around in #134418, which broke `test_valid` since it was referencing two non-specific-purpose ui tests. This PR instead adds two dummy tests under `tests/ui/bootstrap/self-test/`, for that purpose specifically. r? bootstrap
This commit is contained in:
commit
4b905c8a5d
3 changed files with 5 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
2
tests/ui/bootstrap/self-test/a.rs
Normal file
2
tests/ui/bootstrap/self-test/a.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
//! Not used by compiler, this is used by bootstrap cli self-test.
|
||||
//@ ignore-test
|
||||
2
tests/ui/bootstrap/self-test/b.rs
Normal file
2
tests/ui/bootstrap/self-test/b.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
//! Not used by compiler, used by bootstrap cli self-test.
|
||||
//@ ignore-test
|
||||
Loading…
Add table
Add a link
Reference in a new issue