commit: 97c4158e123e3e70628e14c425a1554995b6c8d6 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Mon Feb 14 08:43:07 2022 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Mon Feb 14 08:43:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c4158e
net-misc/nextcloud-client: fix tests execution, run them with virtx Closes: https://bugs.gentoo.org/802936 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> net-misc/nextcloud-client/nextcloud-client-3.4.2.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-misc/nextcloud-client/nextcloud-client-3.4.2.ebuild b/net-misc/nextcloud-client/nextcloud-client-3.4.2.ebuild index fe6451351219..df314cf64b74 100644 --- a/net-misc/nextcloud-client/nextcloud-client-3.4.2.ebuild +++ b/net-misc/nextcloud-client/nextcloud-client-3.4.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake xdg +inherit cmake virtualx xdg DESCRIPTION="Desktop Syncing Client for Nextcloud" HOMEPAGE="https://github.com/nextcloud/desktop" @@ -76,12 +76,16 @@ src_configure() { $(cmake_use_find_package webengine Qt5WebEngineWidgets) -DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin) -DBUILD_SHELL_INTEGRATION_NAUTILUS=$(usex nautilus) - -DUNIT_TESTING=$(usex test) + -DBUILD_TESTING=$(usex test) ) cmake_src_configure } +src_test() { + virtx cmake_src_test +} + pkg_postinst() { xdg_pkg_postinst
