From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E2091581E7 for ; Thu, 25 Apr 2024 23:12:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B07BE29EF; Thu, 25 Apr 2024 23:12:33 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 760E2E29EF for ; Thu, 25 Apr 2024 23:12: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 846FD34313C for ; Thu, 25 Apr 2024 23:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 178831751 for ; Thu, 25 Apr 2024 23:12:31 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1714086742.03a6941c32b1caa44467e12248bf0c385fd55443.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gcovr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/gcovr/gcovr-7.2.ebuild X-VCS-Directories: dev-util/gcovr/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 03a6941c32b1caa44467e12248bf0c385fd55443 X-VCS-Branch: master Date: Thu, 25 Apr 2024 23:12: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: 7aca9bd1-66c1-44c2-9793-e00a7bf6dff3 X-Archives-Hash: 8e302ed97d6e5aa1519c63f07c68d94f commit: 03a6941c32b1caa44467e12248bf0c385fd55443 Author: Patrick McLean gentoo org> AuthorDate: Thu Apr 25 23:11:57 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Apr 25 23:12:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03a6941c dev-util/gcovr: Skip a bunch of tests with gcc-14 (bug #930680) Closes: https://bugs.gentoo.org/930680 Signed-off-by: Patrick McLean gentoo.org> dev-util/gcovr/gcovr-7.2.ebuild | 69 +++++++++++++++++++++++++++++++++++------ 1 file changed, 59 insertions(+), 10 deletions(-) diff --git a/dev-util/gcovr/gcovr-7.2.ebuild b/dev-util/gcovr/gcovr-7.2.ebuild index aa226b32ebe5..cf3116b1bdaf 100644 --- a/dev-util/gcovr/gcovr-7.2.ebuild +++ b/dev-util/gcovr/gcovr-7.2.ebuild @@ -185,6 +185,65 @@ python_test() { "wspace-html" ) + local cc cc_ver + cc="$(tc-get-compiler-type)" + case "${cc}" in + gcc) + cc_ver="$(gcc-major-version)" + + # a bunch of tests are broken on gcc-14 + # https://bugs.gentoo.org/930680 + if [[ $(gcc-major-version) -ge 14 ]]; then + test_build_deselect+=( + "calls-json" + "decisions-neg-delta-json" + "different-function-lines-separate-lcov" + "different-function-lines-use-0-lcov" + "different-function-lines-use-max-lcov" + "different-function-lines-use-min-lcov" + "dot-lcov" + "excl-branch-lcov" + "excl-line-json" + "excl-line-lcov" + "excl-line-branch-lcov" + "excl-line-custom-lcov" + "exclude-directories-relative-lcov" + "exclude-lines-by-pattern-lcov" + "exclude-relative-lcov" + "exclude-relative-from-unfiltered-tracefile-lcov" + "filter-absolute-lcov" + "filter-absolute-from-unfiltered-tracefile-lcov" + "filter-relative-lcov" + "filter-relative-from-unfiltered-tracefile-lcov" + "filter-relative-lib-lcov" + "filter-relative-lib-from-unfiltered-tracefile-lcov" + "linked-lcov" + "nested-lcov" + "nested2-lcov" + "nested3-lcov" + "no-markers-json" + "no-markers-lcov" + "noncode-json" + "noncode-lcov" + "oos-lcov" + "oos2-lcov" + "shadow-json" + "simple1-txt" + "simple1-json" + "simple1-dir-json" + "simple1-stdout-json" + "simple1-stdout-lcov" + "threaded-lcov" + "update-data-lcov" + "wspace-lcov" + ) + fi + ;; + clang) cc_ver="$(clang-major-version)";; + # placeholder since tests need CC_REFERENCE to be string-number + *) cc_ver=1;; + esac + readarray -t EPYTEST_DESELECT < <(printf 'gcovr/tests/test_gcovr.py::test_build[%s]\n' "${test_build_deselect[@]}") EPYTEST_DESELECT+=( @@ -193,16 +252,6 @@ python_test() { gcovr/tests/test_args.py::test_multiple_output_formats_to_stdout gcovr/tests/test_args.py::test_multiple_output_formats_to_stdout_1 ) - - local cc cc_ver - cc="$(tc-get-compiler-type)" - case "${cc}" in - gcc) cc_ver="$(gcc-major-version)";; - clang) cc_ver="$(clang-major-version)";; - # placeholder since tests need CC_REFERENCE to be string-number - *) cc_ver=1 - esac - local -x CC_REFERENCE="${cc}-${cc_ver}" epytest gcovr