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 F31621584AD for ; Tue, 29 Apr 2025 17:28:37 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DE77B343056 for ; Tue, 29 Apr 2025 17:28:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2D2E511036D; Tue, 29 Apr 2025 17:28:33 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 2710911036D for ; Tue, 29 Apr 2025 17:28:33 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CFA27342FEC for ; Tue, 29 Apr 2025 17:28:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69A72254A for ; Tue, 29 Apr 2025 17:28:31 +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: <1745947690.0af10f80d825e200319b1d910d49984ec40246e6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/boost/boost-1.88.0.ebuild X-VCS-Directories: dev-libs/boost/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0af10f80d825e200319b1d910d49984ec40246e6 X-VCS-Branch: master Date: Tue, 29 Apr 2025 17:28:31 +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: 9ed4325e-240e-4afa-b532-8ae391604a0c X-Archives-Hash: 5774dd399528cdb1481cc949a1d1db00 commit: 0af10f80d825e200319b1d910d49984ec40246e6 Author: Sam James gentoo org> AuthorDate: Tue Apr 29 17:26:13 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 29 17:28:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af10f80 dev-libs/boost: apply "keep-going" for tests Run the whole testsuite and print errors at the end. We generally want these semantics for testsuites so that e.g. if one failure occurs, we can look to see if there's another "easier" one to analyse. Plus, people running the testsuite generally don't mind if it takes a bit longer as long as it's not unreasonable (people don't broadly want fail-fast for it; they don't want to know some e.g. linter test failed but not find out later that some critical core functionality test later didn't fail as it never got run). Could maybe trim the test summary failure output to drop the path but not going to bother for now. Signed-off-by: Sam James gentoo.org> dev-libs/boost/boost-1.88.0.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/dev-libs/boost/boost-1.88.0.ebuild b/dev-libs/boost/boost-1.88.0.ebuild index 0ac724b61c97..8d1aa15874dc 100644 --- a/dev-libs/boost/boost-1.88.0.ebuild +++ b/dev-libs/boost/boost-1.88.0.ebuild @@ -340,15 +340,26 @@ multilib_src_test() { # Finally build & run all test suites einfo "Running the following tests: ${lib_names[*]}" + + local failed_tests=() for lib in "${libs[@]}"; do # Skip libraries without test directory [[ ! -d "${lib}/test" ]] && continue # Move into library test dir & run all tests pushd "${lib}/test" >/dev/null || die - edob -m "Running tests in: $(pwd)" ejam --prefix="${EPREFIX}"/usr "${TEST_OPTIONS[@]}" - popd >/dev/null + nonfatal edob -m "Running tests in: $(pwd)" ejam --prefix="${EPREFIX}"/usr "${TEST_OPTIONS[@]}" || failed_tests+=( "${lib}" ) + popd >/dev/null || die done + + if (( ${#failed_tests[@]} )); then + eerror "Failed tests. Printing summary." + local failed_test + for failed_test in "${failed_tests[@]}" ; do + eerror "Failed test: ${failed_test}" + done + die "Tests failed." + fi } multilib_src_install() {