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 E4CE7138334 for ; Tue, 3 Jul 2018 13:09:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8344E093B; Tue, 3 Jul 2018 13:09:48 +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 76BCBE093B for ; Tue, 3 Jul 2018 13:09:48 +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 90C3A335C75 for ; Tue, 3 Jul 2018 13:09:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B530347 for ; Tue, 3 Jul 2018 13:09:43 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1530623366.1cf2906a2d3458bf1077ff369e0ae79b8f2fade7.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyftpdlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild X-VCS-Directories: dev-python/pyftpdlib/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 1cf2906a2d3458bf1077ff369e0ae79b8f2fade7 X-VCS-Branch: master Date: Tue, 3 Jul 2018 13:09:43 +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-Archives-Salt: 8eea8676-327d-4656-ae46-d3a97133edf3 X-Archives-Hash: 35cb18932938aeab6d3306e94049e05f commit: 1cf2906a2d3458bf1077ff369e0ae79b8f2fade7 Author: Louis Sautier gentoo org> AuthorDate: Tue Jul 3 13:08:57 2018 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Jul 3 13:09:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf2906a dev-python/pyftpdlib: skip another failing test Closes: https://bugs.gentoo.org/659786 Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild b/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild index a5c7dac5aee..a956577edbe 100644 --- a/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild +++ b/dev-python/pyftpdlib/pyftpdlib-1.5.4.ebuild @@ -48,15 +48,24 @@ python_compile_all() { } python_test() { - # Skip tests which sometimes fail: - # https://github.com/giampaolo/pyftpdlib/issues/470 - # https://github.com/giampaolo/pyftpdlib/issues/471 - py.test --ignore ${PN}/test/test_misc.py -k \ - "not (test_idle_data_timeout2 or test_on_incomplete_file_received)" \ - || die "Tests failed with ${EPYTHON}" # These tests fail when passing additional options to py.test # so we need to run them separately py.test ${PN}/test/test_misc.py || die "Tests failed with ${EPYTHON}" + # Some of these tests tend to fail + local skipped_tests=( + # https://github.com/giampaolo/pyftpdlib/issues/470 + # https://bugs.gentoo.org/659108 + test_idle_data_timeout2 + # https://github.com/giampaolo/pyftpdlib/issues/471 + # https://bugs.gentoo.org/636410 + test_on_incomplete_file_received + # https://github.com/giampaolo/pyftpdlib/issues/466 + # https://bugs.gentoo.org/659786 + test_nlst + ) + skipped_tests=${skipped_tests[@]/%/ or} + py.test --ignore ${PN}/test/test_misc.py -k "not (${skipped_tests% or})" \ + || die "Tests failed with ${EPYTHON}" } python_install_all() {