From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D9B21582EF for ; Sun, 09 Mar 2025 21:54:16 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E40A334311A for ; Sun, 09 Mar 2025 21:54:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E4A79110370; Sun, 09 Mar 2025 21:54:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D8E86110370 for ; Sun, 09 Mar 2025 21:54:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 877C434306D for ; Sun, 09 Mar 2025 21:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E43FC122C for ; Sun, 09 Mar 2025 21:54:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741557245.cb1aac839eac339862b03704798e0b35b73cde56.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/tests/resolver/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/tests/resolver/meson.build lib/portage/tests/resolver/test_bootstrap_deps.py X-VCS-Directories: lib/portage/tests/resolver/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cb1aac839eac339862b03704798e0b35b73cde56 X-VCS-Branch: master Date: Sun, 09 Mar 2025 21:54:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7ad62cb-cd1c-44be-8209-483b6d7074c9 X-Archives-Hash: 45984a71eaac472739851375a7d68c8a commit: cb1aac839eac339862b03704798e0b35b73cde56 Author: Alfred Wingate protonmail com> AuthorDate: Mon Jan 6 07:45:50 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 9 21:54:05 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=cb1aac83 tests: resolver: Add xfail test for Ada bootstrap chain (bug #947587) Bug: https://bugs.gentoo.org/947587 Signed-off-by: Alfred Wingate protonmail.com> Signed-off-by: Sam James gentoo.org> lib/portage/tests/resolver/meson.build | 1 + lib/portage/tests/resolver/test_bootstrap_deps.py | 76 +++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/lib/portage/tests/resolver/meson.build b/lib/portage/tests/resolver/meson.build index ea948982e7..7569af8cd0 100644 --- a/lib/portage/tests/resolver/meson.build +++ b/lib/portage/tests/resolver/meson.build @@ -16,6 +16,7 @@ py.install_sources( 'test_binary_pkg_ebuild_visibility.py', 'test_blocker.py', 'test_broken_deps.py', + 'test_bootstrap_deps.py', 'test_changed_deps.py', 'test_circular_choices.py', 'test_circular_choices_rust.py', diff --git a/lib/portage/tests/resolver/test_bootstrap_deps.py b/lib/portage/tests/resolver/test_bootstrap_deps.py new file mode 100644 index 0000000000..ac8f4eecd1 --- /dev/null +++ b/lib/portage/tests/resolver/test_bootstrap_deps.py @@ -0,0 +1,76 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +import pytest + +from portage.tests import TestCase +from portage.tests.resolver.ResolverPlayground import ( + ResolverPlayground, + ResolverPlaygroundTestCase, +) + + +class BootstrapChainTestCase(TestCase): + @pytest.mark.xfail(reason="bug #947587") + def testBootstrapChainWithShortcut(self): + ebuilds = { + "dev-libs/A-1": { + "EAPI": "8", + "SLOT": "1", + "IUSE": "B", + "BDEPEND": "B? ( || (