commit:     acd71bea7fbacb805d42a738f8c03de747fd2917
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 01:09:06 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 01:09:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd71bea

net-misc/ntpsec: silence wrong warning about tests

We are running them.

Closes: https://bugs.gentoo.org/795522
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 5 +++++
 net-misc/ntpsec/ntpsec-9999.ebuild     | 6 +++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index 0278acc54735..e8d1962ac02d 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -131,6 +131,11 @@ src_test() {
        python_foreach_impl run_in_build_dir python_compile
 }
 
+python_test() {
+       # Silence QA warning as we're running tests via src_test anyway.
+       :;
+}
+
 src_install() {
        python_install() {
                waf-utils_src_install --notests

diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild 
b/net-misc/ntpsec/ntpsec-9999.ebuild
index b419ab5283ec..84fd0d6ebb4d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -122,13 +122,17 @@ src_compile() {
 }
 
 src_test() {
-       debug-print-function ${FUNCNAME} "$@"
        python_compile() {
                waf-utils_src_compile check
        }
        python_foreach_impl run_in_build_dir python_compile
 }
 
+python_test() {
+       # Silence QA warning as we're running tests via src_test anyway.
+       :;
+}
+
 src_install() {
        python_install() {
                waf-utils_src_install --notests

Reply via email to