From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1723841-garchives=archives.gentoo.org@lists.gentoo.org> 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 0BB371582EF for <garchives@archives.gentoo.org>; Tue, 04 Mar 2025 22:09:07 +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 D13BA343198 for <garchives@archives.gentoo.org>; Tue, 04 Mar 2025 22:09:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EEF671102D2; Tue, 04 Mar 2025 22:09:01 +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 bobolink.gentoo.org (Postfix) with ESMTPS id E6AC21102D2 for <gentoo-commits@lists.gentoo.org>; Tue, 04 Mar 2025 22:09:01 +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 96BE63430DC for <gentoo-commits@lists.gentoo.org>; Tue, 04 Mar 2025 22:09:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FF412865 for <gentoo-commits@lists.gentoo.org>; Tue, 04 Mar 2025 22:09:00 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1741125920.8f091ec5a8f33a72c0d57b1588d7b6ca18f1ee01.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/zig/zig-9999.ebuild X-VCS-Directories: dev-lang/zig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8f091ec5a8f33a72c0d57b1588d7b6ca18f1ee01 X-VCS-Branch: master Date: Tue, 04 Mar 2025 22:09:00 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08016b8d-4ce1-49a0-9273-fde8a66bdc4c X-Archives-Hash: 0f98c1a7e1c98010373bff6031248fcc commit: 8f091ec5a8f33a72c0d57b1588d7b6ca18f1ee01 Author: Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net> AuthorDate: Tue Mar 4 19:54:52 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 4 22:05:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f091ec5 dev-lang/zig: run tests with LLVM enabled and in Debug mode on 9999 Upstream uses release mode only for behavior tests, full suite is run primarily with Debug, so other modes tend to fail with strange errors. Seems like no other distro runs them in different modes, so align it with upstream and everyone else. Also restore `RESTRICT=test` for LLVM-disabled builds; it was removed by mistake in some previous commit. Bug: https://bugs.gentoo.org/949878 Signed-off-by: Eric Joldasov <bratishkaerik <AT> landless-city.net> Closes: https://github.com/gentoo/gentoo/pull/40891 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/zig/zig-9999.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index fb120976ef65..af0fe7f8192b 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -48,6 +48,7 @@ REQUIRED_USE=" !llvm? ( !doc ) llvm? ( ${LLVM_REQUIRED_USE} ) " +RESTRICT="!llvm? ( test )" # Used by both "cmake" and "zig" eclasses. BUILD_DIR="${WORKDIR}/${P}_build" @@ -309,7 +310,9 @@ src_test() { fi done - ZIG_EXE="./stage3/bin/zig" zig_src_test -Dskip-non-native + # Run tests with Debug mode by default, like upstream does in CI, + # full test suite with other modes is in a sad state right now... + ZIG_EXE="./stage3/bin/zig" zig_src_test -Dskip-non-native --release=debug ZBS_ARGS=("${args_backup[@]}") }