summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-20 20:51:26 +0100
committerSam James <sam@gentoo.org>2021-06-20 20:59:05 +0100
commit4dd131e17546b66d1f02cdbc9d2ea7c488d9d891 (patch)
tree852e1ae03ece838ab910f678860c664bd9e1bf0f /dev-libs/libzip
parentgui-libs/wpebackend-fdo: Version bump to 1.10.1 (diff)
downloadgentoo-4dd131e17546b66d1f02cdbc9d2ea7c488d9d891.tar.gz
gentoo-4dd131e17546b66d1f02cdbc9d2ea7c488d9d891.tar.bz2
gentoo-4dd131e17546b66d1f02cdbc9d2ea7c488d9d891.zip
dev-libs/libzip: fix running tests with multibuild
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libzip')
-rw-r--r--dev-libs/libzip/libzip-1.7.3-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-libs/libzip/libzip-1.7.3-r1.ebuild b/dev-libs/libzip/libzip-1.7.3-r1.ebuild
index 4426e7855d14..889bec7371ec 100644
--- a/dev-libs/libzip/libzip-1.7.3-r1.ebuild
+++ b/dev-libs/libzip/libzip-1.7.3-r1.ebuild
@@ -104,7 +104,11 @@ src_compile() {
}
src_test() {
- [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_test
+ run_tests() {
+ [[ ${MULTIBUILD_VARIANT} = shared ]] && cmake_src_test
+ }
+
+ multibuild_foreach_variant run_tests
}
src_install() {