aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-14 00:23:54 (GMT)
committerZac Medico <zmedico@gentoo.org>2012-06-14 00:23:54 (GMT)
commitd1a7dc427d000f5b5e85d5dc5cfa449346bdd7d4 (patch)
treec3ac944f1d38ac36e2e256ae67a55704e6c2526d
parentFix test failure with Python 2.6. (diff)
downloadportage-d1a7dc427d000f5b5e85d5dc5cfa449346bdd7d4.zip
portage-d1a7dc427d000f5b5e85d5dc5cfa449346bdd7d4.tar.gz
portage-d1a7dc427d000f5b5e85d5dc5cfa449346bdd7d4.tar.bz2
test_autounmask: add case for bug #420847
-rw-r--r--pym/portage/tests/resolver/test_autounmask.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pym/portage/tests/resolver/test_autounmask.py b/pym/portage/tests/resolver/test_autounmask.py
index 46dbab1..c75a174 100644
--- a/pym/portage/tests/resolver/test_autounmask.py
+++ b/pym/portage/tests/resolver/test_autounmask.py
@@ -285,6 +285,9 @@ class AutounmaskTestCase(TestCase):
"dev-libs/E-1": { "LICENSE": "TEST" },
"dev-libs/E-2": { "LICENSE": "TEST" },
"dev-libs/F-1": { "DEPEND": "=dev-libs/E-1", "LICENSE": "TEST" },
+
+ "dev-java/sun-jdk-1.6.0.32": { "LICENSE": "TEST", "KEYWORDS": "~x86" },
+ "dev-java/sun-jdk-1.6.0.31": { "LICENSE": "TEST", "KEYWORDS": "x86" },
}
test_cases = (
@@ -316,6 +319,14 @@ class AutounmaskTestCase(TestCase):
success = False,
mergelist = ["dev-libs/E-1", "dev-libs/F-1", "dev-libs/D-1"],
license_changes = { "dev-libs/D-1": set(["TEST"]), "dev-libs/E-1": set(["TEST"]), "dev-libs/E-2": set(["TEST"]), "dev-libs/F-1": set(["TEST"]) }),
+
+ #Test license only for bug #420847
+ #ResolverPlaygroundTestCase(
+ #["dev-java/sun-jdk"],
+ #options = {"--autounmask": True},
+ #success = False,
+ #mergelist = ["dev-java/sun-jdk-1.6.0.31"],
+ #license_changes = { "dev-java/sun-jdk-1.6.0.31": set(["TEST"]) }),
)
playground = ResolverPlayground(ebuilds=ebuilds)