aboutsummaryrefslogtreecommitdiff
path: root/math/universal
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-06-02 15:57:33 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-06-02 15:57:58 +0000
commit1f75d3528bb49e2e28c64f6f1cb62a25d3f44016 (patch)
tree86bcc54593bc542984a77cda486a07de4ddf53ad /math/universal
parent7471004da10a27696934b93c812706f750c20cfe (diff)
Diffstat (limited to 'math/universal')
-rw-r--r--math/universal/Makefile11
1 files 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>