File: skip-broken-test-s390x.diff

package info (click to toggle)
rust-cairo-rs 0.21.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 528 kB
  • sloc: makefile: 2
file content (16 lines) | stat: -rw-r--r-- 535 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Skip broken test on s390x
Author: Matthias Geiger <werdahias@riseup.net> 
Forwarded:  https://github.com/gtk-rs/gtk-rs-core/issues/1391
Last-Update: 2024-05-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/surface_png.rs
+++ b/src/surface_png.rs
@@ -165,6 +165,7 @@
     }
 
     #[test]
+    #[cfg(not(target_arch = "s390x"))]
     fn valid_png_reads_correctly() {
         // A 1x1 PNG, RGB, no alpha, with a single pixel with (42, 42, 42) values
         let png_data: Vec<u8> = vec![