diff options
Diffstat (limited to 'tests/run-make/rustdoc-map-file/rmake.rs')
| -rw-r--r-- | tests/run-make/rustdoc-map-file/rmake.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run-make/rustdoc-map-file/rmake.rs b/tests/run-make/rustdoc-map-file/rmake.rs new file mode 100644 index 00000000000..d017b41bcdd --- /dev/null +++ b/tests/run-make/rustdoc-map-file/rmake.rs @@ -0,0 +1,13 @@ +use run_make_support::{python_command, rustdoc, tmp_dir}; + +fn main() { + let out_dir = tmp_dir().join("out"); + rustdoc() + .input("foo.rs") + .arg("-Zunstable-options") + .arg("--generate-redirect-map") + .output(&out_dir) + .run(); + // FIXME (GuillaumeGomez): Port the python script to Rust as well. + assert!(python_command().arg("validate_json.py").arg(&out_dir).status().unwrap().success()); +} |
