community/gst-plugins-good: fix 32-bit failing test, enable all arches

The flaky tests are removed independently, so let's enable all the arches!
This commit is contained in:
Pablo Correa Gómez 2024-05-05 17:50:51 +02:00 committed by Natanael Copa
parent 6ee4d6f336
commit 3fafb96054
2 changed files with 42 additions and 10 deletions

View File

@ -0,0 +1,40 @@
From 1c702187b067f1a2378bc236023d7e2b1f368be6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
Date: Sun, 5 May 2024 18:29:39 +0300
Subject: [PATCH] qtdemux: Use `G_GUINT64_CONSTANT` when creating test caps
Otherwise this fails on 32 bit platforms.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3521
---
.../gst-plugins-good/tests/check/elements/qtdemux.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/check/elements/qtdemux.c b/tests/check/elements/qtdemux.c
index dd7b30e3233..1e067e02cbe 100644
--- a/tests/check/elements/qtdemux.c
+++ b/tests/check/elements/qtdemux.c
@@ -1085,8 +1085,8 @@ GST_START_TEST (test_qtdemux_compensate_data_offset)
"channels", G_TYPE_INT, 2, "rate", G_TYPE_INT, 48000, NULL);
caps =
gst_caps_new_simple ("video/quicktime", "variant", G_TYPE_STRING,
- "mss-fragmented", "timescale", G_TYPE_UINT64, 10000000, "media-caps",
- GST_TYPE_CAPS, mediacaps, NULL);
+ "mss-fragmented", "timescale", G_TYPE_UINT64, G_GUINT64_CONSTANT (10000000),
+ "media-caps", GST_TYPE_CAPS, mediacaps, NULL);
/* Send segment event* */
event = gst_event_new_caps (caps);
@@ -1165,8 +1165,8 @@ GST_START_TEST (test_qtdemux_mss_fragment)
"channels", G_TYPE_INT, 2, "rate", G_TYPE_INT, 48000, NULL);
caps =
gst_caps_new_simple ("video/quicktime", "variant", G_TYPE_STRING,
- "mss-fragmented", "timescale", G_TYPE_UINT64, 10000000, "media-caps",
- GST_TYPE_CAPS, mediacaps, NULL);
+ "mss-fragmented", "timescale", G_TYPE_UINT64, G_GUINT64_CONSTANT (10000000),
+ "media-caps", GST_TYPE_CAPS, mediacaps, NULL);
/* Send segment event* */
event = gst_event_new_caps (caps);
--
GitLab

View File

@ -56,17 +56,9 @@ makedepends="
ldpath="/usr/lib/gstreamer-1.0"
source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
flaky-test.patch
6804.patch
"
case "$CARCH" in
armhf|s390x|ppc64le)
# really flaky tests
options="$options !check"
;;
*)
;;
esac
# secfixes:
# 1.22.4-r0:
# - CVE-2023-37327
@ -150,8 +142,8 @@ gtk() {
fi
done
}
sha512sums="
338469b7c7ed1a1570b3e734107332998b3e8eb96a1275cddc3ba92b0050e35d9e9902d0668653593cf74d14f4bb23f2eabdc61f0248df5d9cfee3e76c6cab0c gst-plugins-good-1.24.3.tar.xz
e471a892c511c501fdd336cd1729df4e955e266a395260db50665b4ee717d881a007ae84873c57e386931c042ce08ee8f3ab8e102ba251632f724e167b5af913 flaky-test.patch
ab6161070e19f9b7aca7fe69f5651b94bfb43af528569e9d9f4f0c3dde511c4459ca6dbc5141933c395ef308d530b06644984edfd99ce7e53c95f5b4a0dc4cfd 6804.patch
"