diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-04-24 18:00:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-24 18:00:27 +0200 |
| commit | 7daa1c92ec551488601f28fc788440003aee40f3 (patch) | |
| tree | 262f0fcca73b3074cde92aec30f9f2da0eaf6dba /library/std/src | |
| parent | e1935cc1961ffd81a728589158b1ba982010564b (diff) | |
| parent | 3bac5c0f39d9db39cb82f4fb77ef9deee7ff9e0f (diff) | |
| download | rust-7daa1c92ec551488601f28fc788440003aee40f3.tar.gz rust-7daa1c92ec551488601f28fc788440003aee40f3.zip | |
Rollup merge of #96303 - jyn514:improved-bootstrap-tests, r=Mark-Simulacrum
Improve bootstrap tests
- Don't checkout submodules in bootstrap tests
This doesn't cause any tests to fail, and can greatly speed them up.
- Add a test for --exclude test::XXX
I didn't know that the `test::` syntax was valid before, and it doesn't seem to be documented anywhere. Add a test so it doesn't regress accidentally, and as executable documentation.
This also moves the `exclude` tests out of `dist`, to avoid assertion errors when the `cmd` passed to configure didn't match the `subcommand` used.
- Use run_build helper consistently across most bootstrap tests
This is not super important to do, but the consistency is nice.
I didn't change any tests that call `configure("dist")` and then override the subcommand - doing
that at all is pretty sketchy, but I don't want to mess with it while already doing a refactor.
Found while working on the "one call to Step for all paths" change mentioned in https://github.com/rust-lang/rust/pull/95503#issuecomment-1105914384, but independent of that work.
cc `@pietroalbini` for the `--exclude` test, git blame says you added support for it originally.
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions
