aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2020-07-03 00:01:57 +0100
committerAlexey Sokolov <alexey+gentoo@asokolov.org>2020-07-03 00:01:57 +0100
commitee552316ae732521068dabfbc70914e2d6491857 (patch)
tree3c7f73c826f58b32afd49dbd43f83bf9c341d7dc
parentwww-apps/uwebsockets: drop old version (diff)
downloadguru-ee552316ae732521068dabfbc70914e2d6491857.tar.gz
guru-ee552316ae732521068dabfbc70914e2d6491857.tar.bz2
guru-ee552316ae732521068dabfbc70914e2d6491857.zip
net-p2p/nuxhash: add tests
They are broken though Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
-rw-r--r--net-p2p/nuxhash/nuxhash-1.0.0_beta2_p20191013.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-p2p/nuxhash/nuxhash-1.0.0_beta2_p20191013.ebuild b/net-p2p/nuxhash/nuxhash-1.0.0_beta2_p20191013.ebuild
index 62d08e37c..170154d39 100644
--- a/net-p2p/nuxhash/nuxhash-1.0.0_beta2_p20191013.ebuild
+++ b/net-p2p/nuxhash/nuxhash-1.0.0_beta2_p20191013.ebuild
@@ -16,6 +16,7 @@ LICENSE="GPL-3 excavator-EULA"
SLOT="0"
IUSE="gui"
KEYWORDS="~amd64"
+RESTRICT="test"
RDEPEND="
dev-libs/libbsd
@@ -39,3 +40,9 @@ python_prepare_all() {
use gui || eapply "${FILESDIR}/nuxhash-1.0.0_beta2_p20191013-remove-gui.patch"
distutils-r1_python_prepare_all
}
+
+python_test() {
+ for t in tests/test_*.py; do
+ "${EPYTHON}" "${t}" || die
+ done
+}