Skip to content

Commit

Permalink
Migrate run-make/rustdoc-map-file to rmake
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 7, 2024
1 parent 25e3949 commit 913f83f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/run-make/rustdoc-map-file/Makefile

This file was deleted.

14 changes: 14 additions & 0 deletions tests/run-make/rustdoc-map-file/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
use run_make_support::{rustdoc, tmp_dir};
use std::process::Command;

fn main() {
let out_dir = tmp_dir().join("out");
rustdoc()
.input("foo.rs")
.arg("-Zunstable-options")
.arg("--generate-redirect-map")
.output(&out_dir)
.run();
assert!(
Command::new("python").arg("validate_json.py").arg(&out_dir).status().unwrap().success());
}

0 comments on commit 913f83f

Please sign in to comment.