-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Rename tests/rustdoc into tests/rustdoc-html
#150645
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| source: src/bootstrap/src/core/builder/cli_paths/tests.rs | ||
| expression: test librustdoc rustdoc-html | ||
| --- | ||
| [Test] test::CrateRustdoc | ||
| targets: [x86_64-unknown-linux-gnu] | ||
| - Set({test::src/librustdoc}) | ||
| [Test] test::RustdocHtml | ||
| targets: [x86_64-unknown-linux-gnu] | ||
| - Suite(test::tests/rustdoc-html) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| source: src/bootstrap/src/core/builder/cli_paths/tests.rs | ||
| expression: test rustdoc-html | ||
| --- | ||
| [Test] test::RustdocHtml | ||
| targets: [x86_64-unknown-linux-gnu] | ||
| - Suite(test::tests/rustdoc-html) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2099,7 +2099,7 @@ mod snapshot { | |
| [test] compiletest-debuginfo 1 <host> | ||
| [test] compiletest-ui-fulldeps 1 <host> | ||
| [build] rustdoc 1 <host> | ||
| [test] compiletest-rustdoc 1 <host> | ||
| [test] compiletest-rustdoc-html 1 <host> | ||
| [test] compiletest-coverage-run-rustdoc 1 <host> | ||
| [test] compiletest-pretty 1 <host> | ||
| [build] rustc 1 <host> -> std 1 <host> | ||
|
|
@@ -2169,7 +2169,7 @@ mod snapshot { | |
| let ctx = TestCtx::new(); | ||
| insta::assert_snapshot!( | ||
| ctx.config("test") | ||
| .args(&["ui", "ui-fulldeps", "run-make", "rustdoc", "rustdoc-gui", "incremental"]) | ||
| .args(&["ui", "ui-fulldeps", "run-make", "rustdoc-html", "rustdoc-gui", "incremental"]) | ||
| .render_steps(), @r" | ||
| [build] llvm <host> | ||
| [build] rustc 0 <host> -> rustc 1 <host> | ||
|
|
@@ -2180,11 +2180,10 @@ mod snapshot { | |
| [build] rustc 0 <host> -> RunMakeSupport 1 <host> | ||
| [build] rustdoc 1 <host> | ||
| [test] compiletest-run-make 1 <host> | ||
| [test] compiletest-rustdoc 1 <host> | ||
| [test] compiletest-rustdoc-html 1 <host> | ||
| [build] rustc 0 <host> -> RustdocGUITest 1 <host> | ||
| [test] rustdoc-gui 1 <host> | ||
| [test] compiletest-incremental 1 <host> | ||
| [build] rustc 1 <host> -> rustc 2 <host> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I'm slightly worried about this disappearing... I don't see why that has happened (similarly for the other tests in this file). I haven't looked closely at these tests & I'm not super familar with bootstrap's innards, so I might be missing sth.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's wait for @Kobzol to have a look to ensure I didn't break something.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect this is because
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, looking at the results of running
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, |
||
| "); | ||
| } | ||
|
|
||
|
|
@@ -2193,7 +2192,7 @@ mod snapshot { | |
| let ctx = TestCtx::new(); | ||
| insta::assert_snapshot!( | ||
| ctx.config("test") | ||
| .args(&["ui", "ui-fulldeps", "run-make", "rustdoc", "rustdoc-gui", "incremental"]) | ||
| .args(&["ui", "ui-fulldeps", "run-make", "rustdoc-html", "rustdoc-gui", "incremental"]) | ||
| .stage(2) | ||
| .render_steps(), @r" | ||
| [build] llvm <host> | ||
|
|
@@ -2208,11 +2207,10 @@ mod snapshot { | |
| [build] rustc 0 <host> -> RunMakeSupport 1 <host> | ||
| [build] rustdoc 2 <host> | ||
| [test] compiletest-run-make 2 <host> | ||
| [test] compiletest-rustdoc 2 <host> | ||
| [test] compiletest-rustdoc-html 2 <host> | ||
| [build] rustc 0 <host> -> RustdocGUITest 1 <host> | ||
| [test] rustdoc-gui 2 <host> | ||
| [test] compiletest-incremental 2 <host> | ||
| [build] rustdoc 1 <host> | ||
| "); | ||
| } | ||
|
|
||
|
|
@@ -2241,12 +2239,11 @@ mod snapshot { | |
| [build] rustc 0 <host> -> RunMakeSupport 1 <host> | ||
| [build] rustdoc 2 <host> | ||
| [test] compiletest-run-make 2 <target1> | ||
| [test] compiletest-rustdoc 2 <target1> | ||
| [build] rustc 1 <host> -> rustc 2 <target1> | ||
| [build] rustdoc 1 <host> | ||
| [build] rustc 0 <host> -> RustdocGUITest 1 <host> | ||
| [test] rustdoc-gui 2 <target1> | ||
| [test] compiletest-incremental 2 <target1> | ||
| [build] rustc 1 <host> -> rustc 2 <target1> | ||
| [build] rustdoc 1 <host> | ||
| [build] rustc 2 <target1> -> std 2 <target1> | ||
| [build] rustdoc 2 <target1> | ||
| "); | ||
|
|
@@ -2283,7 +2280,7 @@ mod snapshot { | |
| [build] rustc 2 <host> -> rustc 3 <host> | ||
| [test] compiletest-ui-fulldeps 2 <host> | ||
| [build] rustdoc 2 <host> | ||
| [test] compiletest-rustdoc 2 <host> | ||
| [test] compiletest-rustdoc-html 2 <host> | ||
| [test] compiletest-coverage-run-rustdoc 2 <host> | ||
| [test] compiletest-pretty 2 <host> | ||
| [build] rustc 2 <host> -> std 2 <host> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
As you can see from the test expectation changes, running
./x test librustdoc rustdocno longer teststests/rustdoc(since it no longer exists).You should update the expression from
rustdoctorustdoc-html, rename this file and rebless the snap. Similarly for the other test file.Uh oh!
There was an error while loading. Please reload this page.
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.
(If we ever introduce
rustdocas an alias for allrustdoc-*test suites, we can change therustdoc-htmlback torustdocin these two tests (or just keep them and add new ones))