summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-20 02:09:06 +0100
committerSam James <sam@gentoo.org>2022-04-20 02:09:06 +0100
commitacd71bea7fbacb805d42a738f8c03de747fd2917 (patch)
tree4225d8061dd15fad7fc9ccb29eac7acaa233c4a5 /net-misc/ntpsec
parentnet-misc/ntpsec: add Python 3.10 (diff)
downloadgentoo-acd71bea7fbacb805d42a738f8c03de747fd2917.tar.gz
gentoo-acd71bea7fbacb805d42a738f8c03de747fd2917.tar.bz2
gentoo-acd71bea7fbacb805d42a738f8c03de747fd2917.zip
net-misc/ntpsec: silence wrong warning about tests
We are running them. Closes: https://bugs.gentoo.org/795522 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ntpsec')
-rw-r--r--net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild5
-rw-r--r--net-misc/ntpsec/ntpsec-9999.ebuild6
2 files changed, 10 insertions, 1 deletions
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