Debian Codegraph @

debian/patches/disable-broken-tests.patch

raw
1 disable the brittle tests that looks at compiler output, and irrelevant doc features.
2
3 --- a/Cargo.toml
4 +++ b/Cargo.toml
5 @@ -39,31 +39,6 @@ features = ["_doc"]
6 proc-macro = true
7
8 [[test]]
9 -name = "derive_box"
10 -path = "tests/derive_box/mod.rs"
11 -harness = false
12 -
13 -[[test]]
14 -name = "derive_mut"
15 -path = "tests/derive_mut/mod.rs"
16 -harness = false
17 -
18 -[[test]]
19 -name = "derive_arc"
20 -path = "tests/derive_arc/mod.rs"
21 -harness = false
22 -
23 -[[test]]
24 -name = "derive_rc"
25 -path = "tests/derive_rc/mod.rs"
26 -harness = false
27 -
28 -[[test]]
29 -name = "derive_ref"
30 -path = "tests/derive_ref/mod.rs"
31 -harness = false
32 -
33 -[[test]]
34 name = "derive_cow"
35 path = "tests/derive_cow/mod.rs"
36 harness = false
37 --- a/src/lib.rs
38 +++ b/src/lib.rs
39 @@ -1,5 +1,3 @@
40 -#![doc = include_str!("../README.md")]
41 -
42 extern crate proc_macro;
43 extern crate proc_macro2;
44 extern crate quote;
45 --- a/tests/fails.rs
46 +++ b/tests/fails.rs
47 @@ -1,6 +1,6 @@
48 extern crate trybuild;
49
50 -#[test]
51 +//#[test]
52 #[cfg(not(tarpaulin))]
53 fn fails() {
54 let t = trybuild::TestCases::new();