From owner-svn-ports-all@freebsd.org Fri Aug 31 20:14:58 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96D5FFDB36F; Fri, 31 Aug 2018 20:14:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49806835B6; Fri, 31 Aug 2018 20:14:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2AA472003B; Fri, 31 Aug 2018 20:14:58 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7VKEw8L012419; Fri, 31 Aug 2018 20:14:58 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7VKEwAC012418; Fri, 31 Aug 2018 20:14:58 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201808312014.w7VKEwAC012418@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 31 Aug 2018 20:14:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478608 - head/devel/msgpack X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/devel/msgpack X-SVN-Commit-Revision: 478608 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 20:14:58 -0000 Author: jbeich Date: Fri Aug 31 20:14:57 2018 New Revision: 478608 URL: https://svnweb.freebsd.org/changeset/ports/478608 Log: 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. Modified: head/devel/msgpack/Makefile (contents, props changed) Modified: head/devel/msgpack/Makefile ============================================================================== --- head/devel/msgpack/Makefile Fri Aug 31 20:14:40 2018 (r478607) +++ head/devel/msgpack/Makefile Fri Aug 31 20:14:57 2018 (r478608) @@ -11,18 +11,25 @@ COMMENT= Efficient binary serialization, like JSON but 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 .if ${ARCH} == "sparc64" # required for __sync _* atomic operations on sparc 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