From nobody Sat Jun 04 19:29:10 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EB0171BEEE45 for ; Sat, 4 Jun 2022 19:29:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LFqYy2V0vz4VGL for ; Sat, 4 Jun 2022 19:29:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1E2DC23BB5 for ; Sat, 4 Jun 2022 19:29:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 254JT9Wg017559 for ; Sat, 4 Jun 2022 19:29:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 254JT9uj017558 for ports-bugs@FreeBSD.org; Sat, 4 Jun 2022 19:29:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264454] Do not build TEST_DEPENDS in case NO_TEST is set and do not run tests Date: Sat, 04 Jun 2022 19:29:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654370950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=98znAmiAzkSvqZgVHmtN0+LC2vgiKSbCsynbkvCk+YI=; b=IMhaVkZ1er5aLvPcmFKLCpIbOWpiNM1pCCFRGokPMNXPEta48YUSsC6TYTeTGVFx9tGWc3 +5eWOB6ugFmwhTrHZUIyONxYApzxaXDf4AnR7MhuYWWy5+NHwu4MHYI9U62LdxedxyF3CM NMvcbYTC7uyCrk1Ry/bOOveaURjUWDvB+uK/m0cY6jNg7oB5RTsX0bNqaFM1gsVzqyG9Eh PLXKDixqUaWspS2uZPZEFQOD6A0fZOCc4evObwkjzFRAvGDgnrCZWShCWQwxr3k6ZvHwOC REYILiiJopG8xxANwbMStdVFCWwyUsDnPhF6W5Nl0lvYmHl/QJaWtOrUTIiHVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654370950; a=rsa-sha256; cv=none; b=K6bbJt13lR5TL0YNyBRF4sPGTPUc1UagOF4w2vdb7hmG/E9apLEEQ4afL54DFQEwaUuUh5 JRFOY1eEVOKlqEuU35GhVo7DBMZ3r5Nc8aTdBKrjgci/po/Lif3RayNLFF9cGnzd8wjQC9 3SKaj/hxNQAs1iRVk5nFRAlVaeN9Q9ZfwpPfXvZSRUqwNbYl6lclEUkmUau8/kNDTauLTD s1e24Hh4Jj3lThjfBwNK8dj11PJdTgMVN86BVhxX/lXAxZdnbytVpSLV2D403j5sxBLajF 2u7xOPQrne/nw0K604GFnk7C8nfID+/KzZiDzfzPMxLKvbZ6nmLZRzL+8f7fQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264454 Stefan E=C3=9Fer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |se@FreeBSD.org --- Comment #1 from Stefan E=C3=9Fer --- I had already commented on NO_TEST before: Why do we need NO_TEST at all? If TEST_DEPENDS are built without "make test" being invoked, there is a pro= blem in bsd.port.mk or some other ports system component. This could apply to e.g. "make package-recursive", if it did build and pack= age TEST_DEPENDS, but it does not! I do not know of a single port operation that recurses into the TEST_DEPEND= S, without this being specifically required to support "make test". And regarding the Joules wasted on needless port and package building: there are tools that optimize the update process (poudriere, portmaster, portupgr= ade, ...). They prevent needless rebuilds of ports that did not change since the last build cycle. Always rebuilding all relevant ports at a fixed schedule witho= ut checking whether there have been any updates to the port - that's a waste of Joules! --=20 You are receiving this mail because: You are on the CC list for the bug.=