Skip to content

Commit

Permalink
Migrate run-make/rustdoc-with-out-dir-option to new rmake.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 16, 2024
1 parent bf8801d commit 1095e61
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ run-make/rustdoc-scrape-examples-remap/Makefile
run-make/rustdoc-scrape-examples-test/Makefile
run-make/rustdoc-scrape-examples-whitespace/Makefile
run-make/rustdoc-verify-output-files/Makefile
run-make/rustdoc-with-out-dir-option/Makefile
run-make/rustdoc-with-output-option/Makefile
run-make/rustdoc-with-short-out-dir-option/Makefile
run-make/sanitizer-cdylib-link/Makefile
Expand Down
8 changes: 0 additions & 8 deletions tests/run-make/rustdoc-with-out-dir-option/Makefile

This file was deleted.

7 changes: 7 additions & 0 deletions tests/run-make/rustdoc-with-out-dir-option/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use run_make_support::{htmldocck, rustdoc, tmp_dir};

fn main() {
let out_dir = tmp_dir().join("rustdoc");
rustdoc().input("src/lib.rs").crate_name("foobar").crate_type("lib").output(&out_dir).run();
htmldocck().arg(out_dir).arg("src/lib.rs").status().unwrap().success();
}

0 comments on commit 1095e61

Please sign in to comment.