From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A6C59138A87 for ; Sat, 16 Feb 2013 16:16:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41857E04ED; Sat, 16 Feb 2013 16:16:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C79EDE04ED for ; Sat, 16 Feb 2013 16:16:55 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B115633BF00 for ; Sat, 16 Feb 2013 16:16:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2C6C1E4073 for ; Sat, 16 Feb 2013 16:16:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1361031412.b30868d68c220ca7e1b6466be5391ff1b2c59846.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoopm:master commit in: / X-VCS-Repository: proj/gentoopm X-VCS-Files: setup.py X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b30868d68c220ca7e1b6466be5391ff1b2c59846 X-VCS-Branch: master Date: Sat, 16 Feb 2013 16:16:52 +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: 78e11800-7e67-4e5b-b00b-32e9cee374fd X-Archives-Hash: 9e850e9131549d7a1c7027cf66b305c2 commit: b30868d68c220ca7e1b6466be5391ff1b2c59846 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 16 16:16:11 2013 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 16 16:16:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=b30868d6 Tests: skip PMs which fail to load. For example, pkgcore fails when EAPI=5 profile is used. This doesn't help Paludis which checks profiles later. --- setup.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/setup.py b/setup.py index 00ff536..61b6ff9 100755 --- a/setup.py +++ b/setup.py @@ -59,6 +59,8 @@ class TestCommand(Command): pm_inst = gentoopm.submodules.get_pm(pm) except ImportError: print('%s not available, skipping tests.' % pm) + except Exception as e: + print('Unable to use %s: %s' % (pm, e)) else: l = gentoopm.tests.PMTestLoader(pm_inst)