From 3268dd33bd5811f6cced00959efb390bc173f3b3 Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Wed, 18 Aug 2010 18:44:08 +0200 Subject: [PATCH] Tests: Make sure the ResolverPlayground doesn't ignore DEPEND --- pym/portage/tests/resolver/test_simple.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- 2.26.2