-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Don't create a top-level true
directory when running UI tests
#147217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rustbot has assigned @petrochenkov. Use |
@bors r+ rollup |
Some changes occurred in src/tools/compiletest cc @jieyouxu |
I was going to file the compiletest check as a separate PR, but it would have been annoying to wait for this one to merge first, so I included the change in this PR instead. |
Strictly speaking this now requires reapproval due to the added compiletest changes; hopefully that will be swift. @bors r- |
On second thought, let's just get the test fixed first. @bors r=petrochenkov |
Rollup of 11 pull requests Successful merges: - #146918 (add regression test) - #146980 (simplify setup_constraining_predicates, and note it is potentially cubic) - #147170 (compiletest: Pass around `DirectiveLine` instead of bare strings) - #147180 (add tests) - #147188 (Remove usage of `compiletest-use-stage0-libtest` from CI) - #147189 (Replace `rustc_span::Span` with a stripped down version for librustdoc's highlighter) - #147199 (remove outdated comment in (inner) `InferCtxt`) - #147200 (Fix autodiff empty ret regression) - #147209 (Remove `no-remap-src-base` from tests) - #147213 (Fix broken STD build for ESP-IDF) - #147217 (Don't create a top-level `true` directory when running UI tests) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #147217 - Zalathar:true, r=petrochenkov Don't create a top-level `true` directory when running UI tests The funny thing about writing `-Cincremental=true` is that it *does* enable incremental compilation ... using an incremental compilation dir of `./true`. And for UI tests, that ends up creating a `true` directory in the repository root, which is annoying. Fortunately, compiletest has an existing `//@ incremental` directive that takes care of creating an empty incremental directory, and passing it to `-Cincremental`. --- I have manually checked that reverting #146649 still causes the updated test to fail.
The funny thing about writing
-Cincremental=true
is that it does enable incremental compilation ... using an incremental compilation dir of./true
.And for UI tests, that ends up creating a
true
directory in the repository root, which is annoying.Fortunately, compiletest has an existing
//@ incremental
directive that takes care of creating an empty incremental directory, and passing it to-Cincremental
.I have manually checked that reverting #146649 still causes the updated test to fail.