From nobody Mon May 06 02:24:07 2024 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 4VXlbC5ZB2z5Hv98; Mon, 06 May 2024 02:24:07 +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 4VXlbC4z24z4H4C; Mon, 6 May 2024 02:24:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714962247; 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=LIxRv9UsWR5mnPcJHwVeaFe/vvZgsH/dTyqWFe69F3E=; b=bs8EMTcbZot3uYwtDrHg1F8rxrJC5EiCMIV+HLT66n+XKE9G2q+DCuf3ljwpNhXZzOF6q9 /J+85jWrXd0sJPxG3b3JEIX5X1ytIlkEw1JVFga9RuZ4PJrmASLmlzLUDj8qrSr0O3dRQw B+7H0RBpcy171Ccyys9AG5suKeMSG1lTBVeE4zBgGHBpUGObZinJotWEmsYKEtTcw9g7jh XDyNPXiphrvu6vAbZckjh1OSzp+ubIVAbKQIYadF3o75b2lO/VTeDL18nP6EdjGwT39bRy 9m6dwsLKM6ZQlGobnNwXl9M8kfe8r5pBtfz2VjS4nCkPDwWUDoSFJ5w4C12G0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714962247; a=rsa-sha256; cv=none; b=kmIyHoTcsrTjmaNeOGVo6dFyR/GqN/iowTIzMtFq3eEMLOUoM7fZCcq4QsbKZPM11v2vlX vVI4TMr4BiWWsZIwztrIFTJkK/o36Y7/XqbJOCWVfubHwV+QqIMsBpHyS2WOcvgs7uBpwI ai/Udvg1uojLFamhzAT02UAh7TtmxRsglpRwJKMhgmaW7HphHqkc/wChoWnfYoH2GH2CEk JyK664M4+6MiD1gKCELZPSTlNJsAgjFvCGZYN4WCwBSgBX8SmyVnVLBmP6d+JifF2DBEcK wEEqfMpvaG7HQmlyDGRPKZAtj6E+Nm/ua3pBpdWWZDxiWcNjK68Rk/sLZuu0qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714962247; 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=LIxRv9UsWR5mnPcJHwVeaFe/vvZgsH/dTyqWFe69F3E=; b=V0rASf8DPmORh1T0726gb319FxydA2417jqE41sCNcb2B2GPrsMqL5JyF5QLVNcmX8CTpr Qr36lFg+FpzxCl5zxAkm+eIqoNRprepuYsRx7ozhHTV5Qm/4V9aUA5dU/xloDLl0Rk912G AxMe16OIuDJ7nvrMpjOzz6J8l18N92jb9N7cyFHxmrEfN9TYS/4FDYbdD3OiX9Eq3mmEQw AmbfyzAIDITxdahAQVmOhqTRafO0fXnla/QWE0NVx9BIn/y5HNsciBRJ6Az84GtAISPhDK hRYMp0l/HcW2ZhGJQMEnPJ3x9v/HLQjXAd7a69iElaOfO+L+nbELpmCpl8z05w== 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 4VXlbC4Zq3zfGv; Mon, 6 May 2024 02:24:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4462O71E012740; Mon, 6 May 2024 02:24:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4462O7JL012737; Mon, 6 May 2024 02:24:07 GMT (envelope-from git) Date: Mon, 6 May 2024 02:24:07 GMT Message-Id: <202405060224.4462O7JL012737@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 37afd1559b97 - main - audio/libmysofa: Limit extraction of test data 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 37afd1559b9785f4cc3335aa76c9a0962e52f892 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=37afd1559b9785f4cc3335aa76c9a0962e52f892 commit 37afd1559b9785f4cc3335aa76c9a0962e52f892 Author: Daniel Engberg AuthorDate: 2024-05-06 02:15:32 +0000 Commit: Jason E. Hale CommitDate: 2024-05-06 02:23:32 +0000 audio/libmysofa: Limit extraction of test data The test data is very large (~250 Mib). Only extract it if the TEST option is enabled to save on I/O. While here, pet portclippy(1). PR: 278785 --- audio/libmysofa/Makefile | 15 +++++++++++---- ...patch-tests_compare.sh => extrapatch-tests_compare.sh} | 0 ...eIgnoreNew.sh => extrapatch-tests_compareIgnoreNew.sh} | 0 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/audio/libmysofa/Makefile b/audio/libmysofa/Makefile index 0ca80667c266..716b11100250 100644 --- a/audio/libmysofa/Makefile +++ b/audio/libmysofa/Makefile @@ -13,12 +13,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= node:www/node USES= cmake cpe pathfix -USE_LDCONFIG= yes - CPE_VENDOR= symonics - USE_GITHUB= yes GH_ACCOUNT= hoene +USE_LDCONFIG= yes + +EXTRACT_AFTER_ARGS= --exclude ${PORTNAME}-${DISTVERSION}/tests \ + --exclude ${PORTNAME}-${DISTVERSION}/windows \ + --no-same-owner --no-same-permissions OPTIONS_DEFINE= STATIC TEST OPTIONS_DEFAULT= STATIC @@ -29,12 +31,17 @@ STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS TEST_BUILD_DEPENDS= cunit>0:devel/cunit TEST_CMAKE_BOOL= BUILD_TESTS TEST_TEST_TARGET= test +TEST_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-tests_compare.sh \ + ${PATCHDIR}/extrapatch-tests_compareIgnoreNew.sh # The tests are expected to be in ../tests relative to the build # directory and the build results are expected to be in build/ relative # to ${WRKSRC}. USES=cmake does not allow overwriting ${WRKDIR}/.build # as the build directory. -post-patch: +post-extract-TEST-on: + @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ + -C ${WRKDIR} --include ${PORTNAME}-${DISTVERSION}/tests \ + --no-same-owner --no-same-permissions @${RLN} ${WRKSRC}/build ${CONFIGURE_WRKSRC} .include diff --git a/audio/libmysofa/files/patch-tests_compare.sh b/audio/libmysofa/files/extrapatch-tests_compare.sh similarity index 100% rename from audio/libmysofa/files/patch-tests_compare.sh rename to audio/libmysofa/files/extrapatch-tests_compare.sh diff --git a/audio/libmysofa/files/patch-tests_compareIgnoreNew.sh b/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh similarity index 100% rename from audio/libmysofa/files/patch-tests_compareIgnoreNew.sh rename to audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh