From: Sebastian Luther Date: Wed, 18 Aug 2010 16:44:08 +0000 (+0200) Subject: Tests: Make sure the ResolverPlayground doesn't ignore DEPEND X-Git-Tag: v2.2_rc68~100 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3268dd33bd5811f6cced00959efb390bc173f3b3;p=portage.git Tests: Make sure the ResolverPlayground doesn't ignore DEPEND --- diff --git a/pym/portage/tests/resolver/test_simple.py b/pym/portage/tests/resolver/test_simple.py index 8665098a8..4e69d6564 100644 --- a/pym/portage/tests/resolver/test_simple.py +++ b/pym/portage/tests/resolver/test_simple.py @@ -11,6 +11,11 @@ class SimpleResolverTestCase(TestCase): "dev-libs/A-1": {}, "dev-libs/A-2": { "KEYWORDS": "~x86" }, "dev-libs/B-1.2": {}, + + "app-misc/Z-1": { "DEPEND": "|| ( app-misc/Y ( app-misc/X app-misc/W ) )", "RDEPEND": "" }, + "app-misc/Y-1": { "KEYWORDS": "~x86" }, + "app-misc/X-1": {}, + "app-misc/W-1": {}, } installed = { "dev-libs/B-1.1": {}, @@ -29,6 +34,11 @@ class SimpleResolverTestCase(TestCase): options = {"--update": True}, success = True, mergelist = ["dev-libs/B-1.2"]), + + ResolverPlaygroundTestCase( + ["app-misc/Z"], + success = True, + mergelist = ["app-misc/W-1", "app-misc/X-1", "app-misc/Z-1"]), ) playground = ResolverPlayground(ebuilds=ebuilds, installed=installed)