From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/
Date: Sun, 4 Sep 2011 19:06:07 +0000 (UTC) [thread overview]
Message-ID: <22723ad12ea03fada67c7c80df66b4524cfe00be.zmedico@gentoo> (raw)
commit: 22723ad12ea03fada67c7c80df66b4524cfe00be
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 4 19:05:48 2011 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 4 19:05:48 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=22723ad1
test_pty_eof: add SKIP msg for unsupported plat
---
pym/portage/tests/ebuild/test_pty_eof.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/pym/portage/tests/ebuild/test_pty_eof.py b/pym/portage/tests/ebuild/test_pty_eof.py
index 4b6ff21..c8de3e2 100644
--- a/pym/portage/tests/ebuild/test_pty_eof.py
+++ b/pym/portage/tests/ebuild/test_pty_eof.py
@@ -7,6 +7,13 @@ from portage.util._pty import _can_test_pty_eof, _test_pty_eof
class PtyEofFdopenBufferedTestCase(TestCase):
def testPtyEofFdopenBuffered(self):
+
+ if not _can_test_pty_eof():
+ skip_reason = "unsupported on this platform"
+ self.portage_skip = skip_reason
+ self.fail(skip_reason)
+ return
+
# This tests if the following python issue is fixed yet:
# http://bugs.python.org/issue5380
# Since it might not be fixed, mark as todo.
@@ -24,6 +31,12 @@ class PtyEofFdopenUnBufferedTestCase(TestCase):
# with python3 as long as fdopen is called with a bufsize
# argument of 0.
+ if not _can_test_pty_eof():
+ skip_reason = "unsupported on this platform"
+ self.portage_skip = skip_reason
+ self.fail(skip_reason)
+ return
+
# The result is only valid if openpty does not raise EnvironmentError.
if _can_test_pty_eof():
try:
next reply other threads:[~2011-09-04 19:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-04 19:06 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-17 2:55 [gentoo-commits] proj/portage:master commit in: pym/portage/tests/ebuild/ Zac Medico
2013-07-25 20:42 Zac Medico
2013-07-07 20:25 Zac Medico
2013-07-07 20:23 Zac Medico
2013-07-07 2:48 Zac Medico
2013-01-11 7:22 Zac Medico
2012-10-08 16:09 Zac Medico
2012-10-08 15:09 Zac Medico
2012-10-05 4:08 Zac Medico
2012-09-26 18:22 Zac Medico
2012-07-05 0:38 Zac Medico
2012-02-09 0:46 Zac Medico
2012-01-13 2:46 Zac Medico
2011-12-16 3:23 Zac Medico
2011-10-25 16:41 Zac Medico
2011-10-04 6:18 Zac Medico
2011-09-15 2:55 Zac Medico
2011-06-09 10:59 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22723ad12ea03fada67c7c80df66b4524cfe00be.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox