From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C84EA138359 for ; Sat, 22 Aug 2020 13:41:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F2D3E083B; Sat, 22 Aug 2020 13:41:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86C1CE083B for ; Sat, 22 Aug 2020 13:41:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 255DD33BEB4 for ; Sat, 22 Aug 2020 13:41:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91BF832D for ; Sat, 22 Aug 2020 13:41:47 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1598103692.07cd94cfc7eaf66924f9255a70682940c2f06780.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsviz/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild X-VCS-Directories: net-dns/dnsviz/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 07cd94cfc7eaf66924f9255a70682940c2f06780 X-VCS-Branch: master Date: Sat, 22 Aug 2020 13:41:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7c302ad3-f414-4987-a812-651bce350628 X-Archives-Hash: 4607e3eab1413349252bad28d8910814 commit: 07cd94cfc7eaf66924f9255a70682940c2f06780 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Aug 22 12:56:40 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Aug 22 13:41:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cd94cf net-dns/dnsviz: add tests Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Thomas Deutschmann gentoo.org> net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild index c2613635b24..aaee35f2902 100644 --- a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild +++ b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild @@ -35,6 +35,19 @@ python_prepare_all() { distutils-r1_python_prepare_all } +python_test() { + distutils_install_for_testing + + "${EPYTHON}" tests/offline_tests.py -v || die + + # No need to pull in net-dns/bind for this small test + if hash named-checkconf &>/dev/null ; then + "${EPYTHON}" tests/local_probe_tests.py -v || die + else + einfo "Skipping local_probe_tests -- named-checkconf not found!" + fi +} + pkg_postinst() { elog "Support for extra feature can be get from:" optfeature "Support for pre-deployment testing" net-dns/bind