Auto merge of #114001 - meysam81:issue-111894-fix, r=clubby789

fix(bootstrap): rename exclude flag to skip 🐛

fixes #111894
This commit is contained in:
bors 2023-08-10 04:36:51 +00:00
commit abc910be6f
17 changed files with 130 additions and 47 deletions

View file

@ -197,7 +197,7 @@ fn main() -> anyhow::Result<()> {
"miri",
"rustfmt",
] {
build_args.extend(["--exclude".to_string(), target.to_string()]);
build_args.extend(["--skip".to_string(), target.to_string()]);
}
}

View file

@ -96,7 +96,7 @@ llvm-config = "{llvm_config}"
"tests/ui",
];
for test_path in env.skipped_tests() {
args.extend(["--exclude", test_path]);
args.extend(["--skip", test_path]);
}
cmd(&args).env("COMPILETEST_FORCE_STAGE0", "1").run().context("Cannot execute tests")
}