From: Justin Lecher Date: Tue, 3 Nov 2015 10:38:01 +0000 (+0100) Subject: dev-python/testresources: Skip flanky tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fd56767c19be5d180511e9331929c9bc6a9b558c;p=gentoo.git dev-python/testresources: Skip flanky tests Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537534 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher --- diff --git a/dev-python/testresources/testresources-0.2.7-r2.ebuild b/dev-python/testresources/testresources-0.2.7-r2.ebuild index d727cc791501..5a0dcc4b04a6 100644 --- a/dev-python/testresources/testresources-0.2.7-r2.ebuild +++ b/dev-python/testresources/testresources-0.2.7-r2.ebuild @@ -26,6 +26,13 @@ DEPEND=" )" RDEPEND="" +python_prepare_all() { + sed \ + -e 's:testBasicSortTests:_&:g' \ + -i lib/testresources/tests/test_optimising_test_suite.py || die + distutils-r1_python_prepare_all +} + python_test() { - nosetests || die "Tests failed under ${EPYTHON}" + nosetests --verbose || die "Tests failed under ${EPYTHON}" }