mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Auto merge of #7932 - ehuss:enable-doc-open-macos, r=alexcrichton
Enable `cargo doc --open` tests on macos. Now that #7576 is merged, these tests should work fine on macos.
This commit is contained in:
commit
70af90444b
@ -1018,7 +1018,7 @@ fn doc_all_member_dependency_same_name() {
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
|
||||
#[cfg(not(windows))] // `echo` may not be available
|
||||
fn doc_workspace_open_help_message() {
|
||||
let p = project()
|
||||
.file(
|
||||
@ -1044,7 +1044,7 @@ fn doc_workspace_open_help_message() {
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
|
||||
#[cfg(not(windows))] // `echo` may not be available
|
||||
fn doc_workspace_open_different_library_and_package_names() {
|
||||
let p = project()
|
||||
.file(
|
||||
@ -1075,7 +1075,7 @@ fn doc_workspace_open_different_library_and_package_names() {
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
|
||||
#[cfg(not(windows))] // `echo` may not be available
|
||||
fn doc_workspace_open_binary() {
|
||||
let p = project()
|
||||
.file(
|
||||
@ -1107,7 +1107,7 @@ fn doc_workspace_open_binary() {
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
#[cfg(not(any(target_os = "windows", target_os = "macos")))]
|
||||
#[cfg(not(windows))] // `echo` may not be available
|
||||
fn doc_workspace_open_binary_and_library() {
|
||||
let p = project()
|
||||
.file(
|
||||
|
Loading…
x
Reference in New Issue
Block a user