FreeBSD Bugzilla – Attachment 246065 Details for
Bug 274872
www/wt: Add test target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
wt.patch (text/plain), 1.72 KB, created by
Yuri Victorovich
on 2023-11-02 15:21:43 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2023-11-02 15:21:43 UTC
Size:
1.72 KB
patch
obsolete
>diff --git a/www/wt/Makefile b/www/wt/Makefile >index c02321f3fe0b..31e113ac5a24 100644 >--- a/www/wt/Makefile >+++ b/www/wt/Makefile >@@ -17,7 +17,7 @@ LIB_DEPENDS= libpng.so:graphics/png \ > libboost_system.so:devel/boost-libs \ > libGraphicsMagick.so:graphics/GraphicsMagick > >-USES= cmake compiler:c++14-lang cpe pkgconfig ssl >+USES= cmake:testing compiler:c++14-lang cpe pkgconfig ssl > USE_GITHUB= yes > GH_ACCOUNT= emweb > CPE_VENDOR= emweb >@@ -35,11 +35,12 @@ CMAKE_ARGS= -DCONFIGDIR:STRING=${LOCALBASE}/etc/${PORTNAME} \ > -DWT_WRASTERIMAGE_IMPLEMENTATION:STRING=GraphicsMagick \ > -DENABLE_SSL:BOOL=ON \ > -DDESTDIR:STRING=${STAGEDIR} >+CMAKE_OFF= BUILD_TESTS >+CMAKE_TESTING_ON= BUILD_TESTS > > OPTIONS_DEFINE= \ > DEBUG \ > EXAMPLES \ >- TESTS \ > RESOURCES \ > HARU \ > PANGO \ >@@ -49,7 +50,6 @@ OPTIONS_DEFINE= \ > LIBWTTEST \ > UNWIND > OPTIONS_DEFAULT= \ >- TESTS \ > RESOURCES \ > HARU \ > PANGO \ >@@ -60,7 +60,6 @@ OPTIONS_SUB= yes > NO_OPTIONS_SORT= yes > > EXAMPLES_DESC= Install examples (implies SQLITE3 and WTHTTP) >-TESTS_DESC= Build Wt tests > RESOURCES_DESC= Install resources directory > HARU_DESC= Enable Haru Free PDF Library > SAML_DESC= Build built-in SAML service provider for Wt::Auth >@@ -134,8 +133,6 @@ SQLITE3_CMAKE_BOOL= ENABLE_SQLITE > SQLITE3_USES= sqlite:3 > SQLITE3_CMAKE_ON= -DENABLE_LIBWTDBO:BOOL=ON > >-TESTS_CMAKE_BOOL= BUILD_TESTS >- > UNWIND_CMAKE_BOOL= ENABLE_UNWIND > UNWIND_LIB_DEPENDS= libunwind.so:devel/libunwind > >@@ -168,4 +165,10 @@ post-install: > ${INSTALL_DATA} ${BUILD_WRKSRC}/wt_config.xml \ > ${STAGEDIR}${ETCDIR}/wt_config.xml.sample > >+do-test: >+ @cd ${WRKSRC}/test && \ >+ ${BUILD_WRKSRC}/test/test.wt && \ >+ ${BUILD_WRKSRC}/test/test.sqlite3 && \ >+ ${BUILD_WRKSRC}/test/test.http >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274872
: 246065