From nobody Mon Oct 10 13:44:46 2022 X-Original-To: dev-commits-ports-main@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 4MmKsV4spPz4fSWK; Mon, 10 Oct 2022 13:44:46 +0000 (UTC) (envelope-from git@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 4MmKsV4RJfz40Nq; Mon, 10 Oct 2022 13:44:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665409486; 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; bh=sod7FpxTHc/0XKwcbgVZoqiyF4KEOpLWVUtcuroFF4U=; b=GjxR0Z2Aek8V9G/4seOjLUgZRcKCpxZG9v/jkZfdCyY1Mh65WbcSBfCApbUx6cLLgU0IAN 34yCVejxIbCitVEL23c6PPW69SYD7T07E/NP65xQkVX4mla5BZEkv174wGCCLO9mKR4W6z OBdLtesj+GKUESz4fTHpMRbEKNnef8K6ToMsJEKFbUnwQ/KkKD9+6xgFExu5jr9XPcjugL iu5TPfCElv7QrLNBjCpnsvvZTFKY7b4758PHB0q/039xXQqnxLDE+9JaIZmh9b5dR3VDJN lM+Svl4WxX3trHSG4ldfQayncEVn/34AMfVGUb+xPf4IUn8Mp9RU1rx4UsypBg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4MmKsV3VYnzdqM; Mon, 10 Oct 2022 13:44:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29ADikfW000519; Mon, 10 Oct 2022 13:44:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29ADikq1000518; Mon, 10 Oct 2022 13:44:46 GMT (envelope-from git) Date: Mon, 10 Oct 2022 13:44:46 GMT Message-Id: <202210101344.29ADikq1000518@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Christian Weisgerber Subject: git: b6d3556bbb4b - main - audio/flac: skip tests when building as root List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: naddy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b6d3556bbb4b062ea3f922f13c04e93cce2a5f0a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665409486; 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; bh=sod7FpxTHc/0XKwcbgVZoqiyF4KEOpLWVUtcuroFF4U=; b=xI2Q/Xx6f6n+QC4AsVPH7ccuRLMR1fZEtsdSdf6Akfo3fMdAzjgvB+iusxyHzz82URGK+G eG4dJ6m7fBNr8hCgIbpmqdhATpT6nVZYn1K9OxYiKaAh92+11nocNOZrCXVdjASedqE7/q BHErPVMoHL2RbLuxp3WWpMRR37jUkOEJHU8CL2/ZDHna4VKhUCLvCH8r6fg6Dcu6gyjET+ fVIBAJIpF3Wy8fMhr2s/d6sQ6rYjV/ZHWXKhUJHLSwOpHjHdSVsK1RA+XyCUX8tq228RM4 OfQrqX2efo/tKCYCFzDSy6gDWVIedpWqt0oewRn9WLKdEpO2dY2EFz3UGd4vdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665409486; a=rsa-sha256; cv=none; b=RxRZzYqlu6tMqtWR4TbqrLM8qieKpUQ3KkwqeLOaLF7yTii+98Zd644483+RxvUn62+Xbz M9vkpxCr68v/b2cWx/KwgjxouZuUueXt1uWTxROYjtT4Xb2EmB6qrtphtAKREuCEqDnfMI ayYTUBXIVUrYqkx3OluhxR8PyPLaRStwO0+jU/6gmgaJWy4hWH4NB22wB79AxvvfYANz+k TLqPq5k4BtaAINsD6CQ5PtQQzZ/iHTFwFouIBLsXrrPYsOkth8mN36cMDOO6aBmBUl8lOv f9MvJ6RwpRY5kk9I8zKdRM6nnKYPZfkat1yuvVnAu4QwRhz372TODieVURE1ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by naddy: URL: https://cgit.FreeBSD.org/ports/commit/?id=b6d3556bbb4b062ea3f922f13c04e93cce2a5f0a commit b6d3556bbb4b062ea3f922f13c04e93cce2a5f0a Author: Christian Weisgerber AuthorDate: 2022-10-10 13:33:21 +0000 Commit: Christian Weisgerber CommitDate: 2022-10-10 13:44:43 +0000 audio/flac: skip tests when building as root A few tests in the included test suite can intentionally not be run as root, e.g. test_libFLAC: "iterator claims file is writable when tester thinks it should not be" Skip the tests when building as root and provide a brief message. PR: 266575 Reported by: diizzy --- audio/flac/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/audio/flac/Makefile b/audio/flac/Makefile index 29c6f0fe134a..7dddce282528 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -37,7 +37,7 @@ TEST_TARGET= check OPTIONS_DEFINE= DOCS -.include +.include .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm @@ -47,4 +47,11 @@ BUILD_DEPENDS+= nasm:devel/nasm CONFIGURE_ARGS+=--disable-vsx .endif -.include +# test_libFLAC: +# "iterator claims file is writable when tester thinks it should not be" +.if ${UID} == 0 +do-test: + @${ECHO_MSG} "The tests cannot be run as root, skipping." +.endif + +.include