-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
clean up code related to the rustdoc-js test suite #135386
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
let is_rustdoc = suite.ends_with("rustdoc-ui") || suite.ends_with("rustdoc-js"); | ||
let is_rustdoc = suite == "rustdoc-ui" || suite == RUSTDOC_JS; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remark: lol
@bors r+ rollup |
Actually @bors r- |
@@ -30,6 +30,7 @@ use crate::utils::render_tests::{add_flags_and_try_run_tests, try_run_tests}; | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah alright, will do.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, you can r=me after PR CI is green after squashing the commits into one.
@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