File: skip-broken-tests.diff

package info (click to toggle)
rust-libheif-rs 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,268 kB
  • sloc: makefile: 2
file content (52 lines) | stat: -rw-r--r-- 1,211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- a/tests/heif_struct_test.rs
+++ b/tests/heif_struct_test.rs
@@ -35,6 +35,7 @@
 }
 
 #[test]
+#[ignore = "broken in debian, skipping"]
 fn get_encoder_for_format() {
     let lib_heif = LibHeif::new();
     let descriptors = lib_heif.encoder_descriptors(100, None, None);
--- a/tests/write_test.rs
+++ b/tests/write_test.rs
@@ -27,6 +27,7 @@
 }
 
 #[test]
+#[ignore = "broken in debian, skipping"]
 fn create_and_encode_image() -> Result<()> {
     let width = 640;
     let height = 480;
@@ -58,6 +59,7 @@
 }
 
 #[test]
+#[ignore = "broken in debian, skipping"]
 fn create_and_encode_monochrome_image() -> Result<()> {
     let width = 640;
     let height = 480;
@@ -94,6 +96,7 @@
 }
 
 #[test]
+#[ignore = "broken in debian, skipping"]
 fn set_encoder_param() -> Result<()> {
     let width = 640;
     let height = 480;
@@ -126,6 +129,7 @@
 }
 
 #[test]
+#[ignore = "broken in debian, skipping"]
 fn add_metadata() -> Result<()> {
     let width = 640;
     let height = 480;
@@ -220,6 +224,7 @@
 }
 
 #[test]
+#[ignore = "broken in debian, skipping"]
 fn test_encoder_av1() -> Result<()> {
     let lib_heif = LibHeif::new();
     let mut encoder = lib_heif.encoder_for_format(CompressionFormat::Av1)?;