diff options
author | 2020-06-23 14:40:29 -0400 | |
---|---|---|
committer | 2020-06-23 14:44:17 -0400 | |
commit | a4886afa2c9569e600a4dca81e4eee4c46a77cfa (patch) | |
tree | f51ac8129478dfd5fb77025b01450b32fad2ccec /media-tv/kodi/files | |
parent | sys-cluster/swift: 2.23.0 cleanup (diff) | |
download | gentoo-a4886afa2c9569e600a4dca81e4eee4c46a77cfa.tar.gz gentoo-a4886afa2c9569e600a4dca81e4eee4c46a77cfa.tar.bz2 gentoo-a4886afa2c9569e600a4dca81e4eee4c46a77cfa.zip |
media-tv/kodi: backport disabling useless tests
Closes: https://bugs.gentoo.org/729204
Package-Manager: Portage-2.3.102, Repoman-2.3.23
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-tv/kodi/files')
-rw-r--r-- | media-tv/kodi/files/kodi-18-remove-useless-test.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-tv/kodi/files/kodi-18-remove-useless-test.patch b/media-tv/kodi/files/kodi-18-remove-useless-test.patch new file mode 100644 index 000000000000..144626718b60 --- /dev/null +++ b/media-tv/kodi/files/kodi-18-remove-useless-test.patch @@ -0,0 +1,51 @@ +From 6cf1d4aaf9807a209f19e0aea97b44a7ae617f27 Mon Sep 17 00:00:00 2001 +From: Craig Andrews <candrews@integralblue.com> +Date: Tue, 23 Jun 2020 14:30:29 -0400 +Subject: [PATCH] [test] TestCPUInfo: remove useless test as we cannot + guarantee that they exist + +--- + xbmc/utils/test/TestCPUInfo.cpp | 30 ------------------------------ + 1 file changed, 30 deletions(-) + +diff --git a/xbmc/utils/test/TestCPUInfo.cpp b/xbmc/utils/test/TestCPUInfo.cpp +index fab473891356..df74ca3ee995 100644 +--- a/xbmc/utils/test/TestCPUInfo.cpp ++++ b/xbmc/utils/test/TestCPUInfo.cpp +@@ -73,36 +73,6 @@ TEST(TestCPUInfo, getTemperature) + } + #endif + +-TEST(TestCPUInfo, getCPUModel) +-{ +- std::string s = g_cpuInfo.getCPUModel(); +- EXPECT_STRNE("", s.c_str()); +-} +- +-TEST(TestCPUInfo, getCPUBogoMips) +-{ +- std::string s = g_cpuInfo.getCPUBogoMips(); +- EXPECT_STRNE("", s.c_str()); +-} +- +-TEST(TestCPUInfo, getCPUHardware) +-{ +- std::string s = g_cpuInfo.getCPUHardware(); +- EXPECT_STRNE("", s.c_str()); +-} +- +-TEST(TestCPUInfo, getCPURevision) +-{ +- std::string s = g_cpuInfo.getCPURevision(); +- EXPECT_STRNE("", s.c_str()); +-} +- +-TEST(TestCPUInfo, getCPUSerial) +-{ +- std::string s = g_cpuInfo.getCPUSerial(); +- EXPECT_STRNE("", s.c_str()); +-} +- + TEST(TestCPUInfo, CoreInfo) + { + ASSERT_TRUE(g_cpuInfo.HasCoreId(0)); |