1 |
commit: 3c8e1b589caf1b71b68bc7516711e7e10bcd3e4c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 16:57:41 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 16:57:41 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=3c8e1b58 |
7 |
|
8 |
Add supported_eapis variable for EbuildTestCase. |
9 |
|
10 |
--- |
11 |
pmstestsuite/library/case.py | 20 ++++++++++++++++++++ |
12 |
1 files changed, 20 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pmstestsuite/library/case.py b/pmstestsuite/library/case.py |
15 |
index 9a0b37a..0843677 100644 |
16 |
--- a/pmstestsuite/library/case.py |
17 |
+++ b/pmstestsuite/library/case.py |
18 |
@@ -114,6 +114,26 @@ class EbuildTestCase(TestCase): |
19 |
inherits = [] |
20 |
phase_funcs = {} |
21 |
|
22 |
+ @property |
23 |
+ def supported_eapis(self): |
24 |
+ """ |
25 |
+ A list of EAPIs for which the test is able to run and gives |
26 |
+ predictible results. |
27 |
+ |
28 |
+ For example, if a feature is required in EAPI 3+ and optional |
29 |
+ in earlier EAPIs, this variable should contain (3,4). |
30 |
+ """ |
31 |
+ pass |
32 |
+ |
33 |
+ @property |
34 |
+ def relevant_eapis(self): |
35 |
+ """ |
36 |
+ A list of EAPIs for which the test should be run by default (in |
37 |
+ non-thorough mode). This should list all the EAPIs where |
38 |
+ a change of behaviour occurs. |
39 |
+ """ |
40 |
+ pass |
41 |
+ |
42 |
@classmethod |
43 |
def inst_all(cls, *args, **kwargs): |
44 |
""" |