tests/emerge: add some pkgs for depclean
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Sep 2011 06:55:06 +0000 (23:55 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Sep 2011 06:55:06 +0000 (23:55 -0700)
pym/portage/tests/emerge/test_simple.py

index f6f5ab06ef06b2d67dcea86c79fc4711604f92e6..f1a1df63cee11b4b531af26c81d7c5089f761403 100644 (file)
@@ -49,6 +49,21 @@ class SimpleEmergeTestCase(TestCase):
                                "LICENSE": "GPL-2",
                                "USE": "flag",
                        },
+                       "dev-libs/depclean-me-1": {
+                               "EAPI" : "4",
+                               "IUSE" : "",
+                               "KEYWORDS": "x86",
+                               "LICENSE": "GPL-2",
+                               "USE": "",
+                       },
+                       "app-misc/depclean-me-1": {
+                               "EAPI" : "4",
+                               "IUSE" : "",
+                               "KEYWORDS": "x86",
+                               "LICENSE": "GPL-2",
+                               "RDEPEND": "dev-libs/depclean-me",
+                               "USE": "",
+                       },
                }
 
                test_args = (
@@ -58,6 +73,7 @@ class SimpleEmergeTestCase(TestCase):
                        ("--pretend", "dev-libs/A"),
                        ("--pretend", "--tree", "--complete-graph", "dev-libs/A"),
                        ("-p", "dev-libs/B"),
+                       ("--oneshot", "dev-libs/B",),
                        ("--oneshot", "dev-libs/A",),
                        ("--noreplace", "dev-libs/A",),
                        ("--pretend", "--depclean", "--verbose", "dev-libs/B"),