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:
Matthias Krüger 2024-12-17 22:34:44 +01:00 committed by GitHub
commit 4b905c8a5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View file

@ -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]

View file

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

View file

@ -0,0 +1,2 @@
//! Not used by compiler, used by bootstrap cli self-test.
//@ ignore-test