mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
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>
This commit is contained in:
@@ -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));
|
||||
@@ -16,6 +16,7 @@ SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -
|
||||
!system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-18.5-cassert.patch"
|
||||
"${FILESDIR}/${PN}-18-remove-useless-test.patch"
|
||||
)
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
|
||||
@@ -16,6 +16,7 @@ SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -
|
||||
!system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-18.5-cassert.patch"
|
||||
"${FILESDIR}/${PN}-18-remove-useless-test.patch"
|
||||
)
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
|
||||
@@ -16,6 +16,7 @@ SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -
|
||||
!system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-18.5-cassert.patch"
|
||||
"${FILESDIR}/${PN}-18-remove-useless-test.patch"
|
||||
)
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
|
||||
Reference in New Issue
Block a user