Package grcov 0.8.18 from crates.io using debcargo 2.6.0
Sylvestre Ledru
10 months ago
0 | rust-grcov (0.8.18-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package grcov 0.8.18 from crates.io using debcargo 2.6.0 | |
3 | ||
4 | -- Sylvestre Ledru <sylvestre@debian.org> Sun, 09 Jul 2023 09:44:26 +0200 | |
5 | ||
0 | 6 | rust-grcov (0.8.12-3) unstable; urgency=medium |
1 | 7 | |
2 | 8 | * Team upload |
1 | 1 | =================================================================== |
2 | 2 | --- grcov.orig/Cargo.toml |
3 | 3 | +++ grcov/Cargo.toml |
4 | @@ -143,12 +143,10 @@ deflate-miniz = ["zip/deflate-miniz"] | |
4 | @@ -152,12 +152,10 @@ deflate-miniz = ["zip/deflate-miniz"] | |
5 | 5 | deflate-zlib = ["zip/deflate-zlib"] |
6 | 6 | demangle-no-swift = [ |
7 | 7 | "symbolic-demangle/cpp", |
0 | --- a/Cargo.toml | |
1 | +++ b/Cargo.toml | |
2 | @@ -145,11 +145,6 @@ demangle-no-swift = [ | |
0 | Index: grcov/Cargo.toml | |
1 | =================================================================== | |
2 | --- grcov.orig/Cargo.toml | |
3 | +++ grcov/Cargo.toml | |
4 | @@ -154,11 +154,6 @@ demangle-no-swift = [ | |
3 | 5 | "symbolic-demangle/cpp", |
4 | 6 | "symbolic-demangle/rust", |
5 | 7 | ] |
0 | --- a/Cargo.toml | |
1 | +++ b/Cargo.toml | |
2 | @@ -145,8 +145,3 @@ demangle-no-swift = [ | |
0 | Index: grcov/Cargo.toml | |
1 | =================================================================== | |
2 | --- grcov.orig/Cargo.toml | |
3 | +++ grcov/Cargo.toml | |
4 | @@ -154,8 +154,3 @@ demangle-no-swift = [ | |
3 | 5 | "symbolic-demangle/cpp", |
4 | 6 | "symbolic-demangle/rust", |
5 | 7 | ] |
50 | 50 | =================================================================== |
51 | 51 | --- grcov.orig/src/output.rs |
52 | 52 | +++ grcov/src/output.rs |
53 | @@ -680,7 +680,7 @@ mod tests { | |
53 | @@ -758,7 +758,7 @@ mod tests { | |
54 | 54 | assert!(results.contains("FN:3,hello_world\n")); |
55 | 55 | } |
56 | 56 | |
59 | 59 | fn test_covdir() { |
60 | 60 | let tmp_dir = tempfile::tempdir().expect("Failed to create temporary directory"); |
61 | 61 | let file_name = "test_covdir.json"; |
62 | @@ -733,7 +733,7 @@ mod tests { | |
62 | @@ -810,7 +810,7 @@ mod tests { | |
63 | 63 | let expected: Value = serde_json::from_str(&read_file(&expected_path)).unwrap(); |
64 | 64 | |
65 | 65 | assert_eq!(results, expected); |
72 | 72 | =================================================================== |
73 | 73 | --- grcov.orig/src/parser.rs |
74 | 74 | +++ grcov/src/parser.rs |
75 | @@ -820,7 +820,7 @@ mod tests { | |
75 | @@ -829,7 +829,7 @@ mod tests { | |
76 | 76 | assert_eq!(l, "".as_bytes().to_vec()); |
77 | 77 | } |
78 | 78 | |
81 | 81 | fn test_lcov_parser() { |
82 | 82 | let mut f = File::open("./test/prova.info").expect("Failed to open lcov file"); |
83 | 83 | let mut buf = Vec::new(); |
84 | @@ -903,9 +903,9 @@ mod tests { | |
84 | @@ -912,9 +912,9 @@ mod tests { | |
85 | 85 | let func = result.functions.get("logConsoleMessage").unwrap(); |
86 | 86 | assert_eq!(func.start, 21); |
87 | 87 | assert!(!func.executed); |
93 | 93 | fn test_lcov_parser_with_branch_parsing() { |
94 | 94 | // Parse the same file, but with branch parsing enabled. |
95 | 95 | let mut f = File::open("./test/prova.info").expect("Failed to open lcov file"); |
96 | @@ -1922,9 +1922,9 @@ mod tests { | |
96 | @@ -1931,9 +1931,9 @@ mod tests { | |
97 | 97 | .unwrap(); |
98 | 98 | assert_eq!(func.start, 188); |
99 | 99 | assert!(!func.executed); |
105 | 105 | fn test_parser_jacoco_xml_basic() { |
106 | 106 | let mut lines: BTreeMap<u32, u64> = BTreeMap::new(); |
107 | 107 | lines.insert(1, 0); |
108 | @@ -2026,5 +2026,5 @@ mod tests { | |
108 | @@ -2035,5 +2035,5 @@ mod tests { | |
109 | 109 | .expect("Failed to open xml file"); |
110 | 110 | let file = BufReader::new(&f); |
111 | 111 | let _results = parse_jacoco_xml_report(file).unwrap(); |
116 | 116 | =================================================================== |
117 | 117 | --- grcov.orig/src/path_rewriting.rs |
118 | 118 | +++ grcov/src/path_rewriting.rs |
119 | @@ -560,7 +560,7 @@ mod tests { | |
119 | @@ -556,7 +556,7 @@ mod tests { | |
120 | 120 | assert_eq!(count, 1); |
121 | 121 | } |
122 | 122 | |
125 | 125 | #[test] |
126 | 126 | fn test_rewrite_paths_ignore_non_existing_files() { |
127 | 127 | let mut result_map: CovResultMap = FxHashMap::default(); |
128 | @@ -618,7 +618,7 @@ mod tests { | |
128 | @@ -614,7 +614,7 @@ mod tests { | |
129 | 129 | assert_eq!(result, empty_result!()); |
130 | 130 | } |
131 | 131 | assert_eq!(count, 1); |
134 | 134 | |
135 | 135 | #[cfg(unix)] |
136 | 136 | #[test] |
137 | @@ -936,7 +936,7 @@ mod tests { | |
137 | @@ -933,7 +933,7 @@ mod tests { | |
138 | 138 | .any(|_| false); |
139 | 139 | } |
140 | 140 | |
143 | 143 | #[test] |
144 | 144 | fn test_rewrite_paths_rewrite_path_using_absolute_source_directory() { |
145 | 145 | let mut result_map: CovResultMap = FxHashMap::default(); |
146 | @@ -1044,9 +1044,9 @@ mod tests { | |
146 | @@ -1041,9 +1041,9 @@ mod tests { | |
147 | 147 | assert_eq!(result, empty_result!()); |
148 | 148 | } |
149 | 149 | assert_eq!(count, 1); |
155 | 155 | #[test] |
156 | 156 | fn test_rewrite_paths_rewrite_path_for_java_and_rust() { |
157 | 157 | let mut result_map: CovResultMap = FxHashMap::default(); |
158 | @@ -1152,9 +1152,9 @@ mod tests { | |
158 | @@ -1147,9 +1147,9 @@ mod tests { | |
159 | 159 | assert_eq!(result, empty_result!()); |
160 | 160 | } |
161 | 161 | assert_eq!(count, 1); |
167 | 167 | #[test] |
168 | 168 | fn test_rewrite_paths_rewrite_path_and_remove_prefix() { |
169 | 169 | let mut result_map: CovResultMap = FxHashMap::default(); |
170 | @@ -1213,7 +1213,7 @@ mod tests { | |
170 | @@ -1208,7 +1208,7 @@ mod tests { | |
171 | 171 | assert_eq!(result, empty_result!()); |
172 | 172 | } |
173 | 173 | assert_eq!(count, 1); |
176 | 176 | |
177 | 177 | #[cfg(unix)] |
178 | 178 | #[test] |
179 | @@ -1267,7 +1267,7 @@ mod tests { | |
179 | @@ -1262,7 +1262,7 @@ mod tests { | |
180 | 180 | assert_eq!(count, 1); |
181 | 181 | } |
182 | 182 | |
185 | 185 | #[test] |
186 | 186 | fn test_rewrite_paths_rewrite_path_using_mapping_and_ignore_non_existing() { |
187 | 187 | let mut result_map: CovResultMap = FxHashMap::default(); |
188 | @@ -1295,7 +1295,7 @@ mod tests { | |
188 | @@ -1290,7 +1290,7 @@ mod tests { | |
189 | 189 | assert_eq!(result, empty_result!()); |
190 | 190 | } |
191 | 191 | assert_eq!(count, 1); |
194 | 194 | |
195 | 195 | #[cfg(windows)] |
196 | 196 | #[test] |
197 | @@ -1327,7 +1327,7 @@ mod tests { | |
197 | @@ -1322,7 +1322,7 @@ mod tests { | |
198 | 198 | assert_eq!(count, 1); |
199 | 199 | } |
200 | 200 | |
203 | 203 | #[test] |
204 | 204 | fn test_rewrite_paths_rewrite_path_using_mapping_and_remove_prefix() { |
205 | 205 | let mut result_map: CovResultMap = FxHashMap::default(); |
206 | @@ -1475,9 +1475,9 @@ mod tests { | |
206 | @@ -1470,9 +1470,9 @@ mod tests { | |
207 | 207 | assert_eq!(result, empty_result!()); |
208 | 208 | } |
209 | 209 | assert_eq!(count, 1); |
215 | 215 | #[test] |
216 | 216 | fn test_rewrite_paths_rewrite_path_using_mapping_and_source_directory_and_remove_prefix() { |
217 | 217 | let mut result_map: CovResultMap = FxHashMap::default(); |
218 | @@ -1535,7 +1535,7 @@ mod tests { | |
218 | @@ -1530,7 +1530,7 @@ mod tests { | |
219 | 219 | assert_eq!(result, empty_result!()); |
220 | 220 | } |
221 | 221 | assert_eq!(count, 1); |
224 | 224 | |
225 | 225 | #[test] |
226 | 226 | fn test_rewrite_paths_only_covered() { |
227 | @@ -1624,7 +1624,7 @@ mod tests { | |
227 | @@ -1619,7 +1619,7 @@ mod tests { | |
228 | 228 | assert!(!has_no_parent("/foo/bar.oof")); |
229 | 229 | } |
230 | 230 | |
233 | 233 | #[test] |
234 | 234 | fn test_rewrite_paths_filter_lines_and_branches() { |
235 | 235 | let mut result_map: CovResultMap = FxHashMap::default(); |
236 | @@ -1708,5 +1708,5 @@ mod tests { | |
236 | @@ -1703,5 +1703,5 @@ mod tests { | |
237 | 237 | } |
238 | 238 | } |
239 | 239 | assert_eq!(count, 1); |
1 | 1 | =================================================================== |
2 | 2 | --- grcov.orig/Cargo.toml |
3 | 3 | +++ grcov/Cargo.toml |
4 | @@ -73,19 +73,19 @@ version = "0.10" | |
5 | version = "1.13" | |
4 | @@ -85,19 +85,19 @@ version = "1.15" | |
5 | version = "1.17" | |
6 | 6 | |
7 | 7 | [dependencies.quick-xml] |
8 | -version = "0.25" | |
9 | +version = "0.26" | |
8 | -version = "0.28" | |
9 | +version = "0" | |
10 | 10 | |
11 | 11 | [dependencies.rayon] |
12 | -version = "1.5" | |
13 | +version = "^1" | |
12 | -version = "1.7" | |
13 | +version = "1" | |
14 | 14 | |
15 | 15 | [dependencies.regex] |
16 | -version = "1.5" | |
17 | +version = "1.3" | |
16 | -version = "1.7" | |
17 | +version = "1" | |
18 | 18 | |
19 | 19 | [dependencies.rustc-hash] |
20 | 20 | version = "1.1" |
21 | 21 | |
22 | 22 | [dependencies.semver] |
23 | 23 | -version = "1.0" |
24 | +version = "0.9" | |
24 | +version = "0" | |
25 | 25 | |
26 | 26 | [dependencies.serde] |
27 | 27 | version = "1.0" |
0 | 0 | fix-deps.diff |
1 | quick-xml.diff | |
1 | #quick-xml.diff | |
2 | 2 | disable-tests-missing-testdata.diff |
3 | 3 | disable-msvc.diff |
4 | 4 | disable-swift.diff |
0 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets --all-features | |
0 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets --all-features | |
1 | 1 | Features: test-name=rust-grcov:@ |
2 | 2 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
3 | 3 | Restrictions: allow-stderr, skip-not-installable, flaky |
4 | 4 | |
5 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets | |
5 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets | |
6 | 6 | Features: test-name=librust-grcov-dev:default |
7 | 7 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
8 | 8 | Restrictions: allow-stderr, skip-not-installable, flaky |
9 | 9 | |
10 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets --no-default-features --features deflate | |
10 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets --no-default-features --features deflate | |
11 | 11 | Features: test-name=librust-grcov-dev:deflate |
12 | 12 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
13 | 13 | Restrictions: allow-stderr, skip-not-installable, flaky |
14 | 14 | |
15 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets --no-default-features --features deflate-miniz | |
15 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets --no-default-features --features deflate-miniz | |
16 | 16 | Features: test-name=librust-grcov-dev:deflate-miniz |
17 | 17 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
18 | 18 | Restrictions: allow-stderr, skip-not-installable, flaky |
19 | 19 | |
20 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets --no-default-features --features deflate-zlib | |
20 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets --no-default-features --features deflate-zlib | |
21 | 21 | Features: test-name=librust-grcov-dev:deflate-zlib |
22 | 22 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
23 | 23 | Restrictions: allow-stderr, skip-not-installable, flaky |
24 | 24 | |
25 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets --no-default-features --features demangle-no-swift | |
25 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets --no-default-features --features demangle-no-swift | |
26 | 26 | Features: test-name=librust-grcov-dev:demangle-no-swift |
27 | 27 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
28 | 28 | Restrictions: allow-stderr, skip-not-installable, flaky |
29 | 29 | |
30 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.12 --all-targets --no-default-features | |
30 | Test-Command: /usr/share/cargo/bin/cargo-auto-test grcov 0.8.18 --all-targets --no-default-features | |
31 | 31 | Features: test-name=librust-grcov-dev: |
32 | 32 | Depends: dh-cargo (>= 18), librust-pretty-assertions-1+default-dev (>= 1.2-~~), @ |
33 | 33 | Restrictions: allow-stderr, skip-not-installable, flaky |