]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #96493 - chbaker0:issue-96342-fix, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Fri, 13 May 2022 01:25:28 +0000 (01:25 +0000)
committerbors <bors@rust-lang.org>
Fri, 13 May 2022 01:25:28 +0000 (01:25 +0000)
commit925e774edc34969c337bf65bd92bb8a338fc528d
treec6267cc7d4d54da2f7b185d5a72d2da05ed9b8f8
parentebb80ec4e90f8622440f3e33562db0d6e6c66555
parentb2316c1a88b09dfebe7cabf889af9ceab8fef5f9
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.
src/bootstrap/builder/tests.rs