From nobody Fri Jul 14 19:37:50 2023 X-Original-To: dev-commits-ports-all@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 4R2hb273XCz4nBxP; Fri, 14 Jul 2023 19:37:50 +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 4R2hb26SJpz4X4W; Fri, 14 Jul 2023 19:37:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689363470; 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=5ANQLbqv/hl+GoeawnyJoJkG3Sx3MKYhdsOSe3sXQNs=; b=XjxsOlJ3mi7yyqFpbw9d6/87WSGaEE3GQJhNfHZHO/vxjr3pgkHeEZisIP+TC+9DL7RkK5 saQEoFahXmnF2rxVa8CxaXRA27wz3bvALBp1o5WTyq1i7kFL2uQwmmD8wT747GbP6o9tXZ CA+wgSNGYvntprOQosFTrtve9z3AVQPCwOikVZyXOoQD0vAOAX2FxTmlvjgHaoOTDt7f8b 6CjxvZrDnsPoGxOLhx160Z1RnfrMI73n9jZLHi/j8xn0LQklkykVYqmHnK4Rr8pMg9X+83 OjJntxrXnMJB3fbabPluhuyeOC/ueeCGGugEGq5M7M6kL2SoC4nNbgeMGeDtBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689363470; 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=5ANQLbqv/hl+GoeawnyJoJkG3Sx3MKYhdsOSe3sXQNs=; b=DN4tWDrVONBNyYWy4hgcqr/5xcmr8NaZwe+ENp+54UZjjJiAA15Mjvd/VcYcs4avVIqPRC 2WU/Ey/zCr8U39RWvsGu43akBspqKXGZWL8FShWpYM3KJxkcCSXatiGFhaMNZ6RGo50AwY SPLkGKlNwkAiqQ8BW0WfWSWqtNMpgVJRBKOHBA42FsQZ8bM7zW1koQ9Tiw6BYDkt5jEZPR 9DVDBUbATVDeCAlXi4ang7LXZAlKWUfHneMX4B/j7bfDo74kv7agcAygc4dwz4732MnchG 4XmomaVM2q/q+IMMEzlMG1d1FhBH7jWY7gFTP8pTmhYBlg/fpaXZvtrpJVGkag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689363470; a=rsa-sha256; cv=none; b=e4fVdTz7ThTVicCEOBGa8PRoTmfgDWpTeX34gM76/YMJS7OjFHU1mHWNPEWnubgJ63Nj9S Xq2Txw8wY76VXx8sflwF5lU9s1bosfna/HqjMBAR98TaIqnT5j/tElVQpUrK3n8QPhfVZD ivg/r7kwSnMDHrXC/bBxAXOhqrLfpAUgd5gK6jgaTDmJ4SnVHOWihOER1xthlNunucJ9vT 67dIecZfS7PQfE5FiqB73xDTxRn/XwEDx0vNbxFESoUwbuEI1skByiuEsl/dAIVaqLLZkh /ASfRoJq6I7QirD3zgX1/RWhbaFEpRlHchRR36eXLzdsl7I4GjHri0Q7AMUJLQ== 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 4R2hb25XbYzWJc; Fri, 14 Jul 2023 19:37:50 +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 36EJbohR010799; Fri, 14 Jul 2023 19:37:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36EJboTX010798; Fri, 14 Jul 2023 19:37:50 GMT (envelope-from git) Date: Fri, 14 Jul 2023 19:37:50 GMT Message-Id: <202307141937.36EJboTX010798@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 758cd8027321 - main - science/psi4: Improve do-test target, add comment List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 758cd8027321dbdc732a5eaee53131bce4bd1113 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=758cd8027321dbdc732a5eaee53131bce4bd1113 commit 758cd8027321dbdc732a5eaee53131bce4bd1113 Author: Yuri Victorovich AuthorDate: 2023-07-14 19:37:25 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-14 19:37:48 +0000 science/psi4: Improve do-test target, add comment --- science/psi4/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/science/psi4/Makefile b/science/psi4/Makefile index aac33fa4c4e6..51c9f50cbabc 100644 --- a/science/psi4/Makefile +++ b/science/psi4/Makefile @@ -25,7 +25,7 @@ RUN_DEPENDS= ${PY_DEPENDS} \ libint2-psi4>0:science/libint2-psi4 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= blaslapack:openblas cmake compiler:c++17-lang eigen:3 fortran localbase:ldflags python +USES= blaslapack:openblas cmake compiler:c++17-lang eigen:3 fortran localbase:ldflags pytest python USE_GITHUB= yes CMAKE_ARGS= -DLibxc_DIR=${LOCALBASE} \ @@ -40,6 +40,7 @@ TEST_ENV= ${MAKE_ENV} \ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psi4/tests \ PSIDATADIR=${STAGEDIR}${DATADIR} \ PSIPATH=${STAGEDIR}${DATADIR}/basis +TEST_WRKSRC= ${WRKSRC}/tests/pytests BINARY_ALIAS= python=${PYTHON_CMD} # only for tests @@ -72,7 +73,7 @@ do-install: # project fails to install itself into a stage directory due to a co # psi4 sometimes fails to print its version: https://github.com/psi4/psi4/issues/2831 -do-test: - @cd ${WRKSRC}/tests/pytests && ${SETENV} ${TEST_ENV} pytest +do-test: # 2 tests fail, see https://github.com/psi4/psi4/issues/3014 + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest # tests can run without this target too, but this way tests output is more concise and it looks more appealing .include