aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/cargo-skip-broken-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/cargo-skip-broken-tests.patch')
-rw-r--r--community/rust/cargo-skip-broken-tests.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/community/rust/cargo-skip-broken-tests.patch b/community/rust/cargo-skip-broken-tests.patch
new file mode 100644
index 0000000000..425d69d846
--- /dev/null
+++ b/community/rust/cargo-skip-broken-tests.patch
@@ -0,0 +1,60 @@
+diff --git a/src/tools/cargo/tests/testsuite/new.rs b/src/tools/cargo/tests/testsuite/new.rs.new
+index 52e327e36c..416ff58671 100644
+--- a/src/tools/cargo/tests/testsuite/new.rs
++++ b/src/tools/cargo/tests/testsuite/new.rs.new
+@@ -154,6 +154,7 @@ fn keyword_name() {
+ ).run();
+ }
+
++#[ignore]
+ #[test]
+ fn finds_author_user() {
+ create_empty_gitconfig();
+@@ -168,6 +169,7 @@ fn finds_author_user() {
+ assert!(contents.contains(r#"authors = ["foo"]"#));
+ }
+
++#[ignore]
+ #[test]
+ fn finds_author_user_escaped() {
+ create_empty_gitconfig();
+@@ -182,6 +184,7 @@ fn finds_author_user_escaped() {
+ assert!(contents.contains(r#"authors = ["foo \"bar\""]"#));
+ }
+
++#[ignore]
+ #[test]
+ fn finds_author_username() {
+ create_empty_gitconfig();
+@@ -217,6 +220,7 @@ fn finds_author_priority() {
+ assert!(contents.contains(r#"authors = ["bar <baz>"]"#));
+ }
+
++#[ignore]
+ #[test]
+ fn finds_author_email() {
+ create_empty_gitconfig();
+@@ -234,6 +238,7 @@ fn finds_author_email() {
+ assert!(contents.contains(r#"authors = ["bar <baz>"]"#));
+ }
+
++#[ignore]
+ #[test]
+ fn finds_author_git() {
+ git_process("config --global user.name bar").exec().unwrap();
+@@ -289,6 +294,7 @@ fn finds_git_email() {
+ assert!(contents.contains(r#"authors = ["foo <gitfoo>"]"#), contents);
+ }
+
++#[ignore]
+ #[test]
+ fn finds_git_author() {
+ create_empty_gitconfig();
+@@ -337,6 +343,7 @@ fn author_prefers_cargo() {
+ assert!(!root.join("foo/.gitignore").exists());
+ }
+
++#[ignore]
+ #[test]
+ fn strip_angle_bracket_author_email() {
+ create_empty_gitconfig();