commit:     1301cca54d4bce6a6ece78844ec45a49448850d3
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  6 19:05:25 2020 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Sep  6 19:10:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1301cca5

media-sound/apulse: fix tests

Closes: https://bugs.gentoo.org/724688
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 media-sound/apulse/apulse-0.1.13.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/media-sound/apulse/apulse-0.1.13.ebuild 
b/media-sound/apulse/apulse-0.1.13.ebuild
index 350f525f8b2..30be8c6e763 100644
--- a/media-sound/apulse/apulse-0.1.13.ebuild
+++ b/media-sound/apulse/apulse-0.1.13.ebuild
@@ -51,7 +51,14 @@ multilib_src_configure() {
 }
 
 multilib_src_test() {
-       emake check
+       _test() {
+               pushd tests || die
+               cmake -S "${S}/tests" -B . || die
+               emake test_ringbuffer
+               ctest -j "$(makeopts_jobs)" --test-load "$(makeopts_loadavg)" 
|| die
+               popd || die
+       }
+       multilib_foreach_abi _test
 }
 
 multilib_src_install_all() {

Reply via email to