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
|
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com>
Date: Mon, 21 Aug 2023 11:45:48 -0400
Subject: tests: Skip thread priority test
This test added to 45 fails on Ubuntu's armhf builders
https://launchpad.net/ubuntu/+source/mutter/45~beta.1-0ubuntu1/+latestbuild/armhf
and on Debian's i386
https://buildd.debian.org/status/logs.php?pkg=mutter&arch=i386
Architecture defines are at
https://wiki.debian.org/ArchitectureSpecificsMemo
---
src/tests/native-thread.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/tests/native-thread.c b/src/tests/native-thread.c
index 9dfe57c..fc8d0c5 100644
--- a/src/tests/native-thread.c
+++ b/src/tests/native-thread.c
@@ -1150,6 +1150,11 @@ assert_thread_levels (uint32_t expected_priority,
uint32_t priority = UINT32_MAX;
int32_t nice_level = INT32_MAX;
+#if defined __arm__ || defined __i386__
+ g_test_incomplete ("Modifying thread priority is not supported by this architecture");
+ return;
+#endif
+
priority_variant =
call_rtkit_mock_method ("GetThreadPriority",
g_variant_new ("(t)", gettid ()));
|