diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-04 08:02:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-04 08:02:07 +0200 |
| commit | 9d846764c422226bd33b5a8ce3b2d50f93d48a22 (patch) | |
| tree | e03166197f8914a828b32c54a88097618125ebb2 /compiler/rustc_parse_format/src | |
| parent | 96ab10c087ba9b33fefde290351296d61f7a8b01 (diff) | |
| parent | ecf9e204c942b8e9bd4f04c9e2873ba04036e7e6 (diff) | |
| download | rust-9d846764c422226bd33b5a8ce3b2d50f93d48a22.tar.gz rust-9d846764c422226bd33b5a8ce3b2d50f93d48a22.zip | |
Rollup merge of #139317 - Zalathar:hide-libtest, r=jieyouxu
compiletest: Encapsulate all of the code that touches libtest Compiletest currently relies on unstable libtest APIs in order to actually execute tests. That's unfortunate, but removing the dependency isn't trivial. However, we can make a small step towards removing the libtest dependency by encapsulating the libtest interactions into a single dedicated module. That makes it easier to see what parts of libtest are actually used. --- As a side-effect of moving the `test_opts` function into that dedicated module, this PR also ends up allowing `--fail-fast` to be passed on the command line, instead of requiring an environment variable. --- There is still (at least) one other aspect of the libtest dependency that this PR does not address, namely the fact that we rely on libtest's output capture (via unstable std APIs) to capture the output that we print during individual tests. I hope to do something about that at some point. r? jieyouxu
Diffstat (limited to 'compiler/rustc_parse_format/src')
0 files changed, 0 insertions, 0 deletions
