diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-10-25 23:06:17 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-10-25 23:06:17 -0700 |
commit | cbe52a133e4480cefd22ca51dd0c133c09eb93f4 (patch) | |
tree | 6ed3118b835e2feaca4cf653ebc77e6a64050e32 /pym/portage | |
parent | 57604eaf869b544aac9e8ed2e270dcc6be3cf739 (diff) | |
download | portage-cbe52a133e4480cefd22ca51dd0c133c09eb93f4.tar.gz portage-cbe52a133e4480cefd22ca51dd0c133c09eb93f4.tar.bz2 portage-cbe52a133e4480cefd22ca51dd0c133c09eb93f4.zip |
depgraph: trigger rebuild for unbuilt child
This will fix bug #439694, where built slot-operator deps failed
to trigger rebuilds if the deps were initially broken.
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/tests/resolver/test_slot_operator_unsatisfied.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/portage/tests/resolver/test_slot_operator_unsatisfied.py b/pym/portage/tests/resolver/test_slot_operator_unsatisfied.py index 14631eb4e..e3b53d159 100644 --- a/pym/portage/tests/resolver/test_slot_operator_unsatisfied.py +++ b/pym/portage/tests/resolver/test_slot_operator_unsatisfied.py @@ -43,13 +43,16 @@ class SlotOperatorUnsatisfiedTestCase(TestCase): test_cases = ( # Demonstrate bug #439694, where a broken slot-operator - # sub-slot dependency fails to trigger rebuild. + # sub-slot dependency needs to trigger a rebuild. ResolverPlaygroundTestCase( ["@world"], options = {"--update": True, "--deep": True}, success = True, - mergelist = ["app-misc/A-1"]), + mergelist = ["app-misc/B-0"]), + # This doesn't trigger a rebuild, since there's no version + # change to trigger complete graph mode, and initially + # unsatisfied deps are ignored in complete graph mode anyway. ResolverPlaygroundTestCase( ["app-misc/A"], options = {"--oneshot": True}, |