summaryrefslogtreecommitdiffstats
path: root/debian/patches/kodi/0013-Disable-GetCPUFrequency-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/kodi/0013-Disable-GetCPUFrequency-test.patch')
-rw-r--r--debian/patches/kodi/0013-Disable-GetCPUFrequency-test.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/kodi/0013-Disable-GetCPUFrequency-test.patch b/debian/patches/kodi/0013-Disable-GetCPUFrequency-test.patch
new file mode 100644
index 0000000..fe06a92
--- /dev/null
+++ b/debian/patches/kodi/0013-Disable-GetCPUFrequency-test.patch
@@ -0,0 +1,22 @@
+From: Vasyl Gello <vasek.gello@gmail.com>
+Date: Mon, 02 Nov 2020 08:05:00 +0200
+Subject: Disable TestCPUInfo.GetCPUFrequency test
+Origin: vendor
+Forwarded: not-needed
+
+Fixes test failure on many architectures, like s390x.
+See #970236 for example.
+
+---
+
+--- a/xbmc/utils/test/TestCPUInfo.cpp
++++ b/xbmc/utils/test/TestCPUInfo.cpp
+@@ -36,7 +36,7 @@
+ EXPECT_GT(CServiceBroker::GetCPUInfo()->GetCPUCount(), 0);
+ }
+
+-TEST_F(TestCPUInfo, GetCPUFrequency)
++TEST_F(TestCPUInfo, DISABLED_GetCPUFrequency)
+ {
+ EXPECT_GE(CServiceBroker::GetCPUInfo()->GetCPUFrequency(), 0.f);
+ }