From owner-svn-ports-head@freebsd.org Mon Sep 28 17:40:17 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31E52A0B7D8; Mon, 28 Sep 2015 17:40:17 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from vps.amdmi3.ru (vps.amdmi3.ru [109.234.38.216]) by mx1.freebsd.org (Postfix) with ESMTP id 960591A09; Mon, 28 Sep 2015 17:40:16 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from hive.panopticon (unknown [78.153.152.119]) by vps.amdmi3.ru (Postfix) with ESMTPS id F165BB064F; Mon, 28 Sep 2015 20:40:13 +0300 (MSK) Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 09AAD4D5; Mon, 28 Sep 2015 20:36:37 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 4BFFD248938; Mon, 28 Sep 2015 20:39:18 +0300 (MSK) Date: Mon, 28 Sep 2015 20:39:18 +0300 From: Dmitry Marakasov To: Baptiste Daroussin Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r398125 - in head: . Mk Mk/Scripts Mk/Uses astro/osmium devel/pire devel/sdl2pp games/spring graphics/glosm Message-ID: <20150928173918.GD75513@hades.panopticon> References: <201509281720.t8SHKhGQ088408@repo.freebsd.org> <20150928172402.GB52731@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150928172402.GB52731@ivaldir.etoilebsd.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 28 Sep 2015 17:40:17 -0000 * Baptiste Daroussin (bapt@FreeBSD.org) wrote: > > Author: amdmi3 > > Date: Mon Sep 28 17:20:42 2015 > > New Revision: 398125 > > URL: https://svnweb.freebsd.org/changeset/ports/398125 > > > > Log: > > Implemented complete support for test target. > > > > You can now `make test' on any port to run test sequence, no-op by default. > > If a port defines TEST_TARGET, it'll run sub-make with specified target, > > usually `check' or `test', useful if upstream supports that. The port may > > instead define custom do-test target, as well as usual satellite targets: > > > > {pre,do,post}-test, {pre,do,post}-test-OPT, {pre,do,post}-test-OPT-off > > > > `make test' builds and stages port first, so test may use both WRKDIR and > > STAGEDIR, and both BUILD and RUN depends are available for test target. > > Additionally, TEST_DEPENDS is now properly supported and may be used to > > define additional depends specifically for testing. > > > > Framework may define default tests for specific cases. For instance, > > perl5.mk and cran.mk already provide default test target on their own. > > > > This commit also converts my ports which have tests to this new framework. > > > > Approved by: portmgr (bapt) > > Differential Revision: D3680 > > > Thank you very much for that work! You're welcome. I've wanted this feature for too long myself :) All we need now is poudriere support. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://amdmi3.ru