Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2026 15:58:07 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1f75d3528bb4 - main - math/universal: Fix tests
Message-ID:  <6a1efd8f.4067e.5e1152bb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1f75d3528bb49e2e28c64f6f1cb62a25d3f44016

commit 1f75d3528bb49e2e28c64f6f1cb62a25d3f44016
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-02 15:57:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-02 15:57:58 +0000

    math/universal: Fix tests
---
 math/universal/Makefile | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/math/universal/Makefile b/math/universal/Makefile
index f331168795ce..471836f54353 100644
--- a/math/universal/Makefile
+++ b/math/universal/Makefile
@@ -11,12 +11,13 @@ WWW=		https://github.com/stillwater-sc/universal
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++23-lang
+USES=		cmake:testing compiler:c++23-lang
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	stillwater-sc
 
 CMAKE_OFF=	UNIVERSAL_ENABLE_TESTS BUILD_DEMONSTRATION BUILD_PLAYGROUND BUILD_EDUCATION BUILD_APPLICATIONS
+CMAKE_TESTING_ON=	UNIVERSAL_ENABLE_TESTS UNIVERSAL_BUILD_NUMBER_INTEGERS
 
 OPTIONS_DEFINE=		TOOLS
 OPTIONS_SUB=		yes
@@ -25,12 +26,6 @@ TOOLS_DESC=		Build command line tools
 TOOLS_CMAKE_BOOL=	UNIVERSAL_BUILD_TOOLS_CMD_LINE
 TOOLS_VARS_OFF=		NO_ARCH=yes # header-only library w/out executables
 
-do-test:
-	@cd ${BUILD_WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_OFF:C/(.*)/-D\1=ON/} ${CMAKE_SOURCE_PATH} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
-		${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
-
-# tests as of 4.7.2: 100% tests passed, 0 tests failed out of 8
+# tests as of 4.7.2: 100% tests passed, 0 tests failed out of 38
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1efd8f.4067e.5e1152bb>