aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-08-06 15:29:12 +0200
committerMichał Górny <mgorny@gentoo.org>2011-08-06 15:29:12 +0200
commitdb1e06b0ed0f80ca16be6b5c226a4c3edc33786b (patch)
tree3b0c52724ea668029bc84a809e07ec95be25b9ec /pmstestsuite/library/standard/special_vars.py
parentMark not reached assertions as 'unknown'. (diff)
downloadpms-test-suite-db1e06b0ed0f80ca16be6b5c226a4c3edc33786b.tar.gz
pms-test-suite-db1e06b0ed0f80ca16be6b5c226a4c3edc33786b.tar.bz2
pms-test-suite-db1e06b0ed0f80ca16be6b5c226a4c3edc33786b.zip
Introduce the concept of EAPI groups rather than relevant+supported.
Now we group EAPIs by common behavior, so that test runner could simply choose a single random EAPI from each group.
Diffstat (limited to 'pmstestsuite/library/standard/special_vars.py')
-rw-r--r--pmstestsuite/library/standard/special_vars.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pmstestsuite/library/standard/special_vars.py b/pmstestsuite/library/standard/special_vars.py
index 845d698..6ef9c2c 100644
--- a/pmstestsuite/library/standard/special_vars.py
+++ b/pmstestsuite/library/standard/special_vars.py
@@ -22,7 +22,7 @@ class InheritedVariableTest(DBusEbuildTestCase):
class RDependFallbackTest(DBusEbuildTestCase):
""" Test whether RDEPEND=${DEPEND} fallback works as expected. """
- relevant_eapis = (3, 4)
+ supported_eapis = (range(0, 4), (4,))
ebuild_vars = {
# that one shall be pretty portable
'DEPEND': 'virtual/libc'
@@ -54,7 +54,7 @@ class RDependFallbackTest(DBusEbuildTestCase):
class DefinedPhasesTest(DBusEbuildTestCase):
""" Test whether DEFINED_PHASES are declared in EAPI 4. """
- supported_eapis = (4,)
+ supported_eapis = ((4,),)
phase_funcs = {
'pkg_setup': [
':'