clean up code related to the rustdoc-js test suite#135386
clean up code related to the rustdoc-js test suite#135386bors merged 4 commits intorust-lang:masterfrom
Conversation
| let is_rustdoc = suite.ends_with("rustdoc-ui") || suite.ends_with("rustdoc-js"); | ||
| let is_rustdoc = suite == "rustdoc-ui" || suite == RUSTDOC_JS; |
|
@bors r+ rollup |
|
Actually @bors r- |
| use crate::{CLang, DocTests, GitRepo, Mode, PathSet, envify}; | ||
|
|
||
| const ADB_TEST_DIR: &str = "/data/local/tmp/work"; | ||
| const RUSTDOC_JS: &str = "rustdoc-js"; |
There was a problem hiding this comment.
Suggestion: for this PR, could you just inline the constant as strings? String checking is not ideal, but let's keep it consistent with the other test modes/suites for the time being.
There was a problem hiding this comment.
yeah alright, will do.
This comment has been minimized.
This comment has been minimized.
|
@bors delegate+ rollup |
|
✌️ @lolbinarycat, you can now approve this pull request! If @jieyouxu told you to " |
This comment has been minimized.
This comment has been minimized.
|
Of course, we'll need to update the compiletest side of this, because compiletest also uses the old test mode name. |
|
oops. that's what i get for not grepping over the whole source tree :p |
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
ce93daf to
cd1b2f5
Compare
This comment has been minimized.
This comment has been minimized.
cd1b2f5 to
fa0b060
Compare
This comment has been minimized.
This comment has been minimized.
fa0b060 to
d5f592a
Compare
Rollup of 3 pull requests Successful merges: - rust-lang#135355 (ci: added test log format for ci) - rust-lang#135386 (clean up code related to the rustdoc-js test suite) - rust-lang#135391 (bootstrap: Implement conditional `tracing` infra) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#135386 - lolbinarycat:bootstrap-test-cleanup, r=jieyouxu clean up code related to the rustdoc-js test suite r? `@jieyouxu`
r? @jieyouxu