diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-03 17:10:41 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-03 17:10:41 -0800 |
commit | 8b6a531874f170d5b45926ac3ee766a775a0c11a (patch) | |
tree | 8c42ba848dcd0b2bf20ea647680907c87ebc751b | |
parent | fb318d753312539efb06fabbade6caa6afaf36a4 (diff) | |
download | portage-8b6a531874f170d5b45926ac3ee766a775a0c11a.tar.gz portage-8b6a531874f170d5b45926ac3ee766a775a0c11a.tar.bz2 portage-8b6a531874f170d5b45926ac3ee766a775a0c11a.zip |
REQUIRED_USE: test empty parenthesis
-rw-r--r-- | pym/portage/tests/resolver/test_required_use.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/tests/resolver/test_required_use.py b/pym/portage/tests/resolver/test_required_use.py index b0a8618a4..96c8888bb 100644 --- a/pym/portage/tests/resolver/test_required_use.py +++ b/pym/portage/tests/resolver/test_required_use.py @@ -17,11 +17,13 @@ class RequiredUSETestCase(TestCase): "dev-libs/A-2": {"EAPI": EAPI_4, "IUSE": "foo +bar", "REQUIRED_USE": "|| ( foo bar )"}, "dev-libs/A-3": {"EAPI": EAPI_4, "IUSE": "+foo bar", "REQUIRED_USE": "|| ( foo bar )"}, "dev-libs/A-4": {"EAPI": EAPI_4, "IUSE": "+foo +bar", "REQUIRED_USE": "|| ( foo bar )"}, + "dev-libs/A-5": {"EAPI": EAPI_4, "IUSE": "+foo +bar", "REQUIRED_USE": "|| ( )"}, "dev-libs/B-1": {"EAPI": EAPI_4, "IUSE": "foo bar", "REQUIRED_USE": "^^ ( foo bar )"}, "dev-libs/B-2": {"EAPI": EAPI_4, "IUSE": "foo +bar", "REQUIRED_USE": "^^ ( foo bar )"}, "dev-libs/B-3": {"EAPI": EAPI_4, "IUSE": "+foo bar", "REQUIRED_USE": "^^ ( foo bar )"}, "dev-libs/B-4": {"EAPI": EAPI_4, "IUSE": "+foo +bar", "REQUIRED_USE": "^^ ( foo bar )"}, + "dev-libs/B-5": {"EAPI": EAPI_4, "IUSE": "+foo +bar", "REQUIRED_USE": "^^ ( )"}, } test_cases = ( @@ -29,11 +31,13 @@ class RequiredUSETestCase(TestCase): ResolverPlaygroundTestCase(["=dev-libs/A-2"], success = True, mergelist=["dev-libs/A-2"]), ResolverPlaygroundTestCase(["=dev-libs/A-3"], success = True, mergelist=["dev-libs/A-3"]), ResolverPlaygroundTestCase(["=dev-libs/A-4"], success = True, mergelist=["dev-libs/A-4"]), + ResolverPlaygroundTestCase(["=dev-libs/A-5"], success = True, mergelist=["dev-libs/A-5"]), ResolverPlaygroundTestCase(["=dev-libs/B-1"], success = False), ResolverPlaygroundTestCase(["=dev-libs/B-2"], success = True, mergelist=["dev-libs/B-2"]), ResolverPlaygroundTestCase(["=dev-libs/B-3"], success = True, mergelist=["dev-libs/B-3"]), ResolverPlaygroundTestCase(["=dev-libs/B-4"], success = False), + ResolverPlaygroundTestCase(["=dev-libs/B-5"], success = True, mergelist=["dev-libs/B-5"]), ) playground = ResolverPlayground(ebuilds=ebuilds) |