commit: 659e9d57f19c606bec9bc7ba69c956c4abf80ddd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 6 04:14:40 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 6 04:15:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659e9d57
mail-mta/proton-mail-bridge: fix src_test
The test change was wrong. Tests are restricted but if you unrestrict,
the default doesn't work, because it uses cmake_src_test which finds nothing.
Need
to keep the explicit emake test call to use the test target from the Makefile
instead.
Also, use -Onone because of what the targets in the Makefile do here
to avoid no output for long stretches of the build.
Signed-off-by: Sam James <sam <AT> gentoo.org>
mail-mta/proton-mail-bridge/proton-mail-bridge-3.15.1-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.15.1-r1.ebuild
b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.15.1-r1.ebuild
index f7c426050794..09ece2bf26ab 100644
--- a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.15.1-r1.ebuild
+++ b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.15.1-r1.ebuild
@@ -85,7 +85,7 @@ src_configure() {
}
src_compile() {
- emake build-nogui
+ emake -Onone build-nogui
if use gui; then
BUILD_DIR="${WORKDIR}"/gui_build \
@@ -94,6 +94,10 @@ src_compile() {
fi
}
+src_test() {
+ emake -Onone test
+}
+
src_install() {
exeinto /usr/bin
newexe bridge ${PN}