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>
This commit is contained in:
Alexis Ballier
2020-08-06 12:32:09 +02:00
parent a6947f31cd
commit 85f302fa8c
3 changed files with 17 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ BDEPEND="
dev-util/cppcheck
)
"
PATCHES=( "${FILESDIR}/tests.patch" )
src_prepare() {
# Avoid wgeting it. #733704

View File

@@ -39,6 +39,7 @@ BDEPEND="
dev-util/cppcheck
)
"
PATCHES=( "${FILESDIR}/tests.patch" )
src_prepare() {
# Avoid wgeting it. #733704

View File

@@ -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"
)