Debian Codegraph @

debian/patches/ignore-testdata-tests.patch

raw symbols SCIP
1 Description: comment out tests that require test data
2 Author: Nadzeya Hutsko <[email protected]>
3 Forwarded: not-needed
4 Last-Update: 2025-09-02
5 ---
6 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
7 --- a/src/encoder_7.rs
8 +++ b/src/encoder_7.rs
9 @@ -65,7 +65,7 @@
10 }
11 }
12
13 -#[cfg(test)]
14 +/*#[cfg(test)]
15 mod test {
16 use std::io::{Read, Write};
17
18 @@ -113,4 +113,4 @@
19 let decoded_data = String::from_utf8(decoded).unwrap();
20 assert_eq!(decoded_data, test_data);
21 }
22 -}
23 +} */
24 --- a/src/encoder_8.rs
25 +++ b/src/encoder_8.rs
26 @@ -71,7 +71,7 @@
27 }
28 }
29
30 -#[cfg(test)]
31 +/* #[cfg(test)]
32 mod test {
33 use std::io::{Read, Write};
34
35 @@ -124,4 +124,4 @@
36 let decoded_data = String::from_utf8(decoded).unwrap();
37 assert_eq!(decoded_data, test_data);
38 }
39 -}
40 +} */
41 --- a/tests/reference_test.rs
42 +++ b/tests/reference_test.rs
43 @@ -1,4 +1,4 @@
44 -use std::{
45 +/* use std::{
46 io::{Read, Write},
47 path::PathBuf,
48 };
49 @@ -398,4 +398,4 @@
50 #[test] fn decompression_ppmd8_issue3_9() { test_decompression::<PPMd8>(ISSUE3_PATH, 9); }
51 #[test] fn decompression_ppmd8_pg100_9() { test_decompression::<PPMd8>(PG100_PATH, 9); }
52 #[test] fn decompression_ppmd8_pg6800_9() { test_decompression::<PPMd8>(PG6800_PATH, 9); }
53 -}
54 +} */