Disable cargo doc --open tests on Windows and macOS.
authorEsteve Fernandez <esteve@apache.org>
Tue, 29 May 2018 10:34:27 +0000 (12:34 +0200)
committerEsteve Fernandez <esteve@apache.org>
Tue, 29 May 2018 10:34:31 +0000 (12:34 +0200)
tests/testsuite/doc.rs

index ba66df5249e8f1396f2b5d4c42d01ccc451176d2..415f26039eb29726be914af03b96bd7c78e2bbac 100644 (file)
@@ -1481,6 +1481,7 @@ fn doc_workspace_open_help_message() {
 }
 
 #[test]
+#[cfg(not(any(target_os = "windows", target_os = "macos")))]
 fn doc_workspace_open_different_library_and_package_names() {
     let p = project("foo")
         .file(
@@ -1513,6 +1514,7 @@ fn doc_workspace_open_different_library_and_package_names() {
 }
 
 #[test]
+#[cfg(not(any(target_os = "windows", target_os = "macos")))]
 fn doc_workspace_open_binary() {
     let p = project("foo")
         .file(
@@ -1546,6 +1548,7 @@ fn doc_workspace_open_binary() {
 }
 
 #[test]
+#[cfg(not(any(target_os = "windows", target_os = "macos")))]
 fn doc_workspace_open_binary_and_library() {
     let p = project("foo")
         .file(