summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-06 12:32:09 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-06 14:28:33 +0200
commit85f302fa8c22c8b9addfe3cf126eda196128eea6 (patch)
tree088934a978c6e98f413efeac6f580d8c5430c84b /dev-libs/console_bridge
parentdev-ros/costmap_2d: fix deps (diff)
downloadgentoo-85f302fa8c22c8b9addfe3cf126eda196128eea6.tar.gz
gentoo-85f302fa8c22c8b9addfe3cf126eda196128eea6.tar.bz2
gentoo-85f302fa8c22c8b9addfe3cf126eda196128eea6.zip
dev-libs/console_bridge: disable broken test
Closes: https://bugs.gentoo.org/734168 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-libs/console_bridge')
-rw-r--r--dev-libs/console_bridge/console_bridge-1.0.1.ebuild1
-rw-r--r--dev-libs/console_bridge/console_bridge-9999.ebuild1
-rw-r--r--dev-libs/console_bridge/files/tests.patch15
3 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/console_bridge/console_bridge-1.0.1.ebuild b/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
index 44f13c59150e..567b29908dfb 100644
--- a/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
+++ b/dev-libs/console_bridge/console_bridge-1.0.1.ebuild
@@ -39,6 +39,7 @@ BDEPEND="
dev-util/cppcheck
)
"
+PATCHES=( "${FILESDIR}/tests.patch" )
src_prepare() {
# Avoid wgeting it. #733704
diff --git a/dev-libs/console_bridge/console_bridge-9999.ebuild b/dev-libs/console_bridge/console_bridge-9999.ebuild
index 44f13c59150e..567b29908dfb 100644
--- a/dev-libs/console_bridge/console_bridge-9999.ebuild
+++ b/dev-libs/console_bridge/console_bridge-9999.ebuild
@@ -39,6 +39,7 @@ BDEPEND="
dev-util/cppcheck
)
"
+PATCHES=( "${FILESDIR}/tests.patch" )
src_prepare() {
# Avoid wgeting it. #733704
diff --git a/dev-libs/console_bridge/files/tests.patch b/dev-libs/console_bridge/files/tests.patch
new file mode 100644
index 000000000000..0f41a8dd3aa7
--- /dev/null
+++ b/dev-libs/console_bridge/files/tests.patch
@@ -0,0 +1,15 @@
+This test does not make sense since the file is not yet installed.
+
+Index: console_bridge-1.0.1/test/CMakeLists.txt
+===================================================================
+--- console_bridge-1.0.1.orig/test/CMakeLists.txt
++++ console_bridge-1.0.1/test/CMakeLists.txt
+@@ -77,7 +77,7 @@ if(WGET_EXE)
+ "--counting=detailed"
+ "--extensions=cpp,h"
+ "--linelength=100"
+- "--filter=-build/c++11,-runtime/references,-whitespace/braces,-whitespace/indent,-whitespace/parens,-whitespace/semicolon"
++ "--filter=-build/c++11,-runtime/references,-whitespace/braces,-whitespace/indent,-whitespace/parens,-whitespace/semicolon,-build/header_guard"
+ "${PROJECT_SOURCE_DIR}/include/console_bridge/console.h"
+ "${PROJECT_SOURCE_DIR}/src/console.cpp"
+ )