1 |
commit: fd56767c19be5d180511e9331929c9bc6a9b558c |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 10:38:01 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 11:38:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd56767c |
7 |
|
8 |
dev-python/testresources: Skip flanky tests |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537534 |
11 |
|
12 |
Package-Manager: portage-2.2.23 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
dev-python/testresources/testresources-0.2.7-r2.ebuild | 9 ++++++++- |
16 |
1 file changed, 8 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-python/testresources/testresources-0.2.7-r2.ebuild b/dev-python/testresources/testresources-0.2.7-r2.ebuild |
19 |
index d727cc7..5a0dcc4 100644 |
20 |
--- a/dev-python/testresources/testresources-0.2.7-r2.ebuild |
21 |
+++ b/dev-python/testresources/testresources-0.2.7-r2.ebuild |
22 |
@@ -26,6 +26,13 @@ DEPEND=" |
23 |
)" |
24 |
RDEPEND="" |
25 |
|
26 |
+python_prepare_all() { |
27 |
+ sed \ |
28 |
+ -e 's:testBasicSortTests:_&:g' \ |
29 |
+ -i lib/testresources/tests/test_optimising_test_suite.py || die |
30 |
+ distutils-r1_python_prepare_all |
31 |
+} |
32 |
+ |
33 |
python_test() { |
34 |
- nosetests || die "Tests failed under ${EPYTHON}" |
35 |
+ nosetests --verbose || die "Tests failed under ${EPYTHON}" |
36 |
} |