From 678831c8d0d4401e54f12de50fbe721bf919f3f5 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 22 Aug 2024 13:48:32 +0300 Subject: [PATCH] media-gfx/czkawka: enable tests Signed-off-by: Alfred Wingate --- media-gfx/czkawka/czkawka-7.0.0.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-gfx/czkawka/czkawka-7.0.0.ebuild b/media-gfx/czkawka/czkawka-7.0.0.ebuild index 04fe1b1..66cd6fb 100644 --- a/media-gfx/czkawka/czkawka-7.0.0.ebuild +++ b/media-gfx/czkawka/czkawka-7.0.0.ebuild @@ -694,7 +694,7 @@ CRATES=" zvariant_utils@1.0.1 " -inherit cargo desktop xdg +inherit cargo desktop xdg virtualx DESCRIPTION="App to find duplicates, empty folders and similar images" HOMEPAGE="https://github.com/qarmin/czkawka" @@ -730,7 +730,6 @@ IUSE="gui gtk raw heif" REQUIRED_USE=" gui? ( gtk ) " -RESTRICT="test" DEPEND=" gtk? ( @@ -766,6 +765,10 @@ src_configure() { cargo_src_configure --no-default-features --bin czkawka_cli $(usev gui "--bin czkawka_gui") } +src_test() { + virtx cargo_src_test +} + src_install() { dobin $(cargo_target_dir)/czkawka_cli