Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/library/
Date: Sun, 29 May 2011 18:57:43
Message-Id: d817e9ddcfec5a573f5be2f61b41d731de299445.mgorny@gentoo
1 commit: d817e9ddcfec5a573f5be2f61b41d731de299445
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 18:32:16 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 18:32:16 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=d817e9dd
7
8 Set EbuildTestCase.p as well.
9
10 ---
11 PMSTestSuite/library/case.py | 4 ++--
12 1 files changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/PMSTestSuite/library/case.py b/PMSTestSuite/library/case.py
15 index a9b27d3..1f8cf43 100644
16 --- a/PMSTestSuite/library/case.py
17 +++ b/PMSTestSuite/library/case.py
18 @@ -61,6 +61,7 @@ class EbuildTestCase(TestCase):
19 """ Instiantate the test case for a particular EAPI. """
20 self.eapi = eapi
21 self.pn = cleanup_test_case_name(self.__class__.__name__)
22 + self.p = '%s-%s' % (self.pn, eapi)
23
24 def get_output_files(self):
25 """
26 @@ -96,7 +97,6 @@ class EbuildTestCase(TestCase):
27
28 return ''.join(contents)
29
30 - pn = self.pn
31 - fn = 'pms-test/%s/%s-%s.ebuild' % (pn, pn, self.eapi)
32 + fn = 'pms-test/%s/%s.ebuild' % (self.pn, self.p)
33
34 return {fn: EbuildTestCaseEbuildFile(self)}