diff options
| author | bors <bors@rust-lang.org> | 2022-05-13 01:25:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-13 01:25:28 +0000 |
| commit | 925e774edc34969c337bf65bd92bb8a338fc528d (patch) | |
| tree | c6267cc7d4d54da2f7b185d5a72d2da05ed9b8f8 /src/bootstrap/builder | |
| parent | ebb80ec4e90f8622440f3e33562db0d6e6c66555 (diff) | |
| parent | b2316c1a88b09dfebe7cabf889af9ceab8fef5f9 (diff) | |
| download | rust-925e774edc34969c337bf65bd92bb8a338fc528d.tar.gz rust-925e774edc34969c337bf65bd92bb8a338fc528d.zip | |
Auto merge of #96493 - chbaker0:issue-96342-fix, r=Mark-Simulacrum
Add compiletest and bootstrap "--skip" option forwarded to libtest With this PR, "x.py test --skip SKIP ..." will run the specified test suite, but forward "--skip SKIP" to the test tool. libtest already supports this option. The PR also adds it to compiletest which itself just forwards it to libtest. Adds the functionality requested in https://github.com/rust-lang/rust/issues/96342. This is useful to work around tests broken upstream. https://github.com/rust-lang/rust/issues/96362#issuecomment-1108609893 is the specific test issue my project is trying to work around.
Diffstat (limited to 'src/bootstrap/builder')
| -rw-r--r-- | src/bootstrap/builder/tests.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/builder/tests.rs b/src/bootstrap/builder/tests.rs index d3e91c75837..4ab502e9052 100644 --- a/src/bootstrap/builder/tests.rs +++ b/src/bootstrap/builder/tests.rs @@ -507,6 +507,7 @@ mod dist { config.stage = 0; config.cmd = Subcommand::Test { paths: vec!["library/std".into()], + skip: vec![], test_args: vec![], rustc_args: vec![], fail_fast: true, @@ -577,6 +578,7 @@ mod dist { let mut config = configure(&["A"], &["A"]); config.cmd = Subcommand::Test { paths: vec![], + skip: vec![], test_args: vec![], rustc_args: vec![], fail_fast: true, |
