public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/library/standard/basic/
Date: Tue, 14 Jun 2011 12:35:02 +0000 (UTC)	[thread overview]
Message-ID: <0bc403b5e2576ba75e6c09bf2537da3a0c75cbf8.mgorny@gentoo> (raw)

commit:     0bc403b5e2576ba75e6c09bf2537da3a0c75cbf8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 14 12:13:52 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 14 12:13:52 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=0bc403b5

Use object id as EbuildToucher's PV.

---
 PMSTestSuite/library/standard/basic/depend.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/PMSTestSuite/library/standard/basic/depend.py b/PMSTestSuite/library/standard/basic/depend.py
index c477427..171b6f0 100644
--- a/PMSTestSuite/library/standard/basic/depend.py
+++ b/PMSTestSuite/library/standard/basic/depend.py
@@ -8,6 +8,10 @@ from PMSTestSuite.library.depend_case import EbuildDependencyTestCase
 class EbuildToucher(DBusEbuildTestCase):
 	""" Touched file installer (for dependency tests). """
 
+	@property
+	def pv(self):
+		return id(self)
+
 	def __init__(self, *args, **kwargs):
 		DBusEbuildTestCase.__init__(self, *args, **kwargs)
 		self.phase_funcs['src_unpack'].append(
@@ -17,7 +21,7 @@ true
 _EOF_'''
 		)
 		self.phase_funcs['src_install'].append(
-			'newbin mytrue.sh pms-test-suite-%s || die' % id(self)
+			'newbin mytrue.sh pms-test-suite-%s || die' % self.pv
 		)
 
 class DependTest(EbuildDependencyTestCase):
@@ -29,5 +33,5 @@ class DependTest(EbuildDependencyTestCase):
 	def __init__(self, *args, **kwargs):
 		EbuildDependencyTestCase.__init__(self, *args, **kwargs)
 		self.phase_funcs['src_compile'].append(
-			'pms-test-suite-%s || die' % id(self.depend_objs[0])
+			'pms-test-suite-%s || die' % self.depend_objs[0].pv
 		)



             reply	other threads:[~2011-06-14 12:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 12:35 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-17  5:59 [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/library/standard/basic/ Michał Górny
2011-06-14  8:32 Michał Górny
2011-06-14  8:32 Michał Górny
2011-05-31 21:06 Michał Górny
2011-05-31 19:18 Michał Górny

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=0bc403b5e2576ba75e6c09bf2537da3a0c75cbf8.mgorny@gentoo \
    --to=mgorny@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