mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
net-analyzer/openvas-scanner: fix tests in 7.0.1
Closes: https://bugs.gentoo.org/729864 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de> Closes: https://github.com/gentoo/gentoo/pull/15793 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
1f5d9023db
commit
0e6dbfdb04
@@ -16,7 +16,8 @@ SRC_URI="https://github.com/greenbone/openvas-scanner/archive/v${PV}.tar.gz -> $
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2 GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cron extras"
|
||||
IUSE="cron extras test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
acct-user/gvm
|
||||
@@ -44,7 +45,8 @@ BDEPEND="
|
||||
app-text/htmldoc
|
||||
dev-perl/CGI
|
||||
dev-perl/SQL-Translator
|
||||
)"
|
||||
)
|
||||
test? ( dev-libs/cgreen )"
|
||||
|
||||
BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
@@ -84,6 +86,9 @@ src_compile() {
|
||||
cmake_build doc-full -C "${BUILD_DIR}" doc
|
||||
fi
|
||||
cmake_build rebuild_cache
|
||||
if use test; then
|
||||
cmake_build tests
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user