From: Zac Medico Date: Mon, 4 Oct 2010 02:26:22 +0000 (-0700) Subject: Note curious testBacktrackMissedUpdates() failure X-Git-Tag: v2.2_rc90~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d402047d0368c0122d2f21e21bb5ff5f9b17473;p=portage.git Note curious testBacktrackMissedUpdates() failure --- diff --git a/pym/portage/tests/resolver/test_backtracking.py b/pym/portage/tests/resolver/test_backtracking.py index c8d04be83..d862d3dc7 100644 --- a/pym/portage/tests/resolver/test_backtracking.py +++ b/pym/portage/tests/resolver/test_backtracking.py @@ -137,6 +137,11 @@ class BacktrackingTestCase(TestCase): An update is missed due to a dependency on an older version. """ + # NOTE: This test fails if the order of slot conflict + # backtrack_data is reversed inside depgraph._add_pkg(). + # This may indicate that Backtracker is failing to generate + # the appropriate nodes to explore in this case. + ebuilds = { "dev-libs/A-1": { }, "dev-libs/A-2": { }, @@ -148,10 +153,12 @@ class BacktrackingTestCase(TestCase): "dev-libs/B-1": { "USE": "", "RDEPEND": "<=dev-libs/A-1" }, } + options = {'--update' : True, '--deep' : True, '--selective' : True} + test_cases = ( ResolverPlaygroundTestCase( ["dev-libs/A", "dev-libs/B"], - options = {'--update' : True, '--deep' : True}, + options = options, all_permutations = True, mergelist = [], success = True),