File: skip-test-big-endian.diff

package info (click to toggle)
rust-gstreamer-video 0.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,240 kB
  • sloc: makefile: 2
file content (22 lines) | stat: -rw-r--r-- 802 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
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com>
Date: Fri, 23 Aug 2024 15:04:00 -0400
Subject: Skip video sort test on big-endian

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3754
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7412
---
 src/video_format.rs | 2 ++
 1 file changed, 2 insertions(+)

--- a/src/video_format.rs
+++ b/src/video_format.rs
@@ -537,7 +537,9 @@
         assert_eq!(caps.to_string(), "video/x-raw, format=(string){ NV12, NV16 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]");
     }
 
+    // https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/524
     #[test]
+    #[cfg(target_endian = "little")]
     fn sort() {
         use itertools::Itertools;