From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1513233-garchives=archives.gentoo.org@lists.gentoo.org>
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 8F71915ACFD
	for <garchives@archives.gentoo.org>; Sun, 30 Apr 2023 07:46:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 87C8DE0845;
	Sun, 30 Apr 2023 07:46:57 +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 6C1ACE0845
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Apr 2023 07:46:57 +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 3E39E340DDE
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Apr 2023 07:46:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C87D5A40
	for <gentoo-commits@lists.gentoo.org>; Sun, 30 Apr 2023 07:46:54 +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: <1682840802.d666607ed67d41f6f9e5601d7bbd438b41cfd768.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/systemd/systemd-252.7.ebuild sys-apps/systemd/systemd-253.3-r1.ebuild sys-apps/systemd/systemd-9999.ebuild
X-VCS-Directories: sys-apps/systemd/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d666607ed67d41f6f9e5601d7bbd438b41cfd768
X-VCS-Branch: master
Date: Sun, 30 Apr 2023 07:46:54 +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: e4cd85fc-4cfa-4934-a18d-d2502424144c
X-Archives-Hash: f7ff5545706f68960e7299de925a5f8f

commit:     d666607ed67d41f6f9e5601d7bbd438b41cfd768
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 07:45:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 07:46:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d666607e

sys-apps/systemd: conditionally build tests

We actually already do this for sys-apps/systemd-utils but didn't end up
doing it for sys-apps/systemd until now. Noticed during a slooow build on
one of our altarches, makes a big difference.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/systemd/systemd-252.7.ebuild    | 1 +
 sys-apps/systemd/systemd-253.3-r1.ebuild | 1 +
 sys-apps/systemd/systemd-9999.ebuild     | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sys-apps/systemd/systemd-252.7.ebuild b/sys-apps/systemd/systemd-252.7.ebuild
index 0554f6f5accf..b35c799db45f 100644
--- a/sys-apps/systemd/systemd-252.7.ebuild
+++ b/sys-apps/systemd/systemd-252.7.ebuild
@@ -297,6 +297,7 @@ multilib_src_configure() {
 		$(meson_native_use_bool kmod)
 		$(meson_use lz4)
 		$(meson_use lzma xz)
+		$(meson_use test tests)
 		$(meson_use zstd)
 		$(meson_native_use_bool iptables libiptc)
 		$(meson_native_use_bool openssl)

diff --git a/sys-apps/systemd/systemd-253.3-r1.ebuild b/sys-apps/systemd/systemd-253.3-r1.ebuild
index f7e3c4df5619..f43b489d4520 100644
--- a/sys-apps/systemd/systemd-253.3-r1.ebuild
+++ b/sys-apps/systemd/systemd-253.3-r1.ebuild
@@ -299,6 +299,7 @@ multilib_src_configure() {
 		$(meson_native_use_bool kmod)
 		$(meson_use lz4)
 		$(meson_use lzma xz)
+		$(meson_use test tests)
 		$(meson_use zstd)
 		$(meson_native_use_bool iptables libiptc)
 		$(meson_native_use_bool openssl)

diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 595551b2bfaf..262f3350c7a1 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -298,6 +298,7 @@ multilib_src_configure() {
 		$(meson_native_use_bool kmod)
 		$(meson_use lz4)
 		$(meson_use lzma xz)
+		$(meson_use test tests)
 		$(meson_use zstd)
 		$(meson_native_use_bool iptables libiptc)
 		$(meson_native_use_bool openssl)