Skip to content

Commit

Permalink
Migrate run-make/rustdoc-output-path to rmake
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 10, 2024
1 parent 98dabb6 commit 24d96fa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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 @@ -245,7 +245,6 @@ run-make/rlib-format-packed-bundled-libs/Makefile
run-make/rmeta-preferred/Makefile
run-make/rustc-macro-dep-files/Makefile
run-make/rustdoc-io-error/Makefile
run-make/rustdoc-output-path/Makefile
run-make/rustdoc-scrape-examples-invalid-expr/Makefile
run-make/rustdoc-scrape-examples-macros/Makefile
run-make/rustdoc-scrape-examples-multiple/Makefile
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/rustdoc-output-path/Makefile

This file was deleted.

9 changes: 9 additions & 0 deletions tests/run-make/rustdoc-output-path/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Checks that if the output folder doesn't exist, rustdoc will create it.

use run_make_support::{rustdoc, tmp_dir};

fn main() {
let out_dir = tmp_dir().join("foo/bar/doc");
rustdoc().input("foo.rs").output(&out_dir).run();
assert!(out_dir.exists());
}

0 comments on commit 24d96fa

Please sign in to comment.