diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-08-31 20:14:57 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-08-31 20:14:57 +0000 |
commit | aedca5645a4a5200098252abd2d281970e5c10b3 (patch) | |
tree | f1208b73ce570a384bde666d55781458e1df85dd | |
parent | devel/google{test,mock}: update to 1.8.1 (diff) |
devel/msgpack: restore TEST_TARGET after r470984
TEST_DEPENDS is pointless without do-test or TEST_TARGET. automake
required googletest only during "check" but cmake wants it upfront
during "test". So, move tests into a separate option.
Notes
Notes:
svn path=/head/; revision=478608
-rw-r--r-- | devel/msgpack/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/msgpack/Makefile b/devel/msgpack/Makefile index e4ae3111834d..b23544b7eb0a 100644 --- a/devel/msgpack/Makefile +++ b/devel/msgpack/Makefile @@ -11,13 +11,16 @@ COMMENT= Efficient binary serialization, like JSON but smaller and faster LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt -TEST_DEPENDS= googletest>0:devel/googletest - USES= cmake pathfix USE_LDCONFIG= yes USE_GITHUB= yes GH_PROJECT= msgpack-c +OPTIONS_DEFINE= TEST + +TEST_BUILD_DEPENDS= googletest>0:devel/googletest +TEST_TEST_TARGET= test + .include <bsd.port.options.mk> .if ${ARCH} == "sparc64" @@ -25,4 +28,8 @@ GH_PROJECT= msgpack-c USE_GCC= yes .endif +# poudriere doesn't run tests yet, so hook them manually +# https://github.com/freebsd/poudriere/pull/355 +pre-install-TEST-on: do-test + .include <bsd.port.mk> |