From owner-svn-ports-head@freebsd.org Wed Nov 21 02:43:59 2018 Return-Path: Delivered-To: svn-ports-head@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 1EB421146F46; Wed, 21 Nov 2018 02:43:59 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B97026A3C9; Wed, 21 Nov 2018 02:43:58 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id A346F5E1A; Wed, 21 Nov 2018 02:43:58 +0000 (UTC) From: Jan Beich To: Yuri Victorovich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r485493 - in head/misc: . sdformat sdformat/files References: <201811210216.wAL2Gpqd090066@repo.freebsd.org> Date: Wed, 21 Nov 2018 03:43:55 +0100 In-Reply-To: <201811210216.wAL2Gpqd090066@repo.freebsd.org> (Yuri Victorovich's message of "Wed, 21 Nov 2018 02:16:51 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: B97026A3C9 X-Spamd-Result: default: False [1.54 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_LONG(0.45)[0.450,0]; NEURAL_SPAM_MEDIUM(0.56)[0.557,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_SPAM_SHORT(0.53)[0.529,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 02:43:59 -0000 Yuri Victorovich writes: > +do-test: > + @cd ${BUILD_WRKSRC} && \ > + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ > + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ > + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test Why not just add TEST option and run after build when enabled? OPTIONS_DEFINE= TEST TEST_CMAKE_BOOL= BUILD_TESTING TEST_TEST_TARGET= test pre-install-TEST-on: do-test