Skip to content

Commit 913f83f

Browse files
Migrate run-make/rustdoc-map-file to rmake
1 parent 25e3949 commit 913f83f

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

tests/run-make/rustdoc-map-file/Makefile

-5
This file was deleted.
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
use run_make_support::{rustdoc, tmp_dir};
2+
use std::process::Command;
3+
4+
fn main() {
5+
let out_dir = tmp_dir().join("out");
6+
rustdoc()
7+
.input("foo.rs")
8+
.arg("-Zunstable-options")
9+
.arg("--generate-redirect-map")
10+
.output(&out_dir)
11+
.run();
12+
assert!(
13+
Command::new("python").arg("validate_json.py").arg(&out_dir).status().unwrap().success());
14+
}

0 commit comments

Comments
 (0)