Skip to content

Commit 1095e61

Browse files
Migrate run-make/rustdoc-with-out-dir-option to new rmake.rs
1 parent bf8801d commit 1095e61

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ run-make/rustdoc-scrape-examples-remap/Makefile
243243
run-make/rustdoc-scrape-examples-test/Makefile
244244
run-make/rustdoc-scrape-examples-whitespace/Makefile
245245
run-make/rustdoc-verify-output-files/Makefile
246-
run-make/rustdoc-with-out-dir-option/Makefile
247246
run-make/rustdoc-with-output-option/Makefile
248247
run-make/rustdoc-with-short-out-dir-option/Makefile
249248
run-make/sanitizer-cdylib-link/Makefile

tests/run-make/rustdoc-with-out-dir-option/Makefile

-8
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use run_make_support::{htmldocck, rustdoc, tmp_dir};
2+
3+
fn main() {
4+
let out_dir = tmp_dir().join("rustdoc");
5+
rustdoc().input("src/lib.rs").crate_name("foobar").crate_type("lib").output(&out_dir).run();
6+
htmldocck().arg(out_dir).arg("src/lib.rs").status().unwrap().success();
7+
}

0 commit comments

Comments
 (0)