Skip to content

Commit

Permalink
net-analyzer/openvas-scanner: fix tests in 7.0.1
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/729864
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht <[email protected]>
Closes: gentoo#15793
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
j-licht authored and juippis committed Jul 14, 2020
1 parent 1f5d902 commit 0e6dbfd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions net-analyzer/openvas-scanner/openvas-scanner-7.0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}"
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 0e6dbfd

Please sign in to comment.