Debian Codegraph @

debian/patches/disable-tests-missing-testdata.diff

raw
1 Index: gif/Cargo.toml
2 ===================================================================
3 --- gif.orig/Cargo.toml
4 +++ gif/Cargo.toml
5 @@ -51,17 +51,2 @@ documentation = "https://docs.rs/gif"
6
7 -[[bench]]
8 -name = "decode"
9 -path = "benches/decode.rs"
10 -harness = false
11 -required-features = ["std"]
12 -
13 -[[bench]]
14 -name = "rgb_frame"
15 -path = "benches/rgb_frame.rs"
16 -harness = false
17 -required-features = [
18 - "std",
19 - "color_quant",
20 -]
21 -
22 [dependencies.color_quant]
23 Index: gif/README.md
24 ===================================================================
25 --- gif.orig/README.md
26 +++ gif/README.md
27 @@ -13,7 +13,7 @@ The high level interface consists of the
28
29 ### Decoding GIF files
30
31 -```rust
32 +```no_run
33 // Open the file
34 use std::fs::File;
35 let input = File::open("tests/samples/sample_1.gif").unwrap();
36 Index: gif/src/lib.rs
37 ===================================================================
38 --- gif.orig/src/lib.rs
39 +++ gif/src/lib.rs
40 @@ -14,7 +14,7 @@
41 //!
42 //! ### Decoding GIF files
43 //!
44 -//! ```rust
45 +//! ```no_run
46 //! // Open the file
47 //! use std::fs::File;
48 //! let mut decoder = gif::DecodeOptions::new();
49 @@ -56,7 +56,7 @@
50 //! 0, 0, 0, 1, 1, 0,
51 //! 0, 0, 0, 0, 0, 0,
52 //! ]];
53 -//! let mut image = File::create("tests/samples/beacon.gif").unwrap();;
54 +//! let mut image = File::create("target/beacon.gif").unwrap();;
55 //! let mut encoder = Encoder::new(&mut image, width, height, color_map).unwrap();
56 //! encoder.set_repeat(Repeat::Infinite).unwrap();
57 //! for state in &beacon_states {