Summary: | [bsd.port.mk] [patch] Easier / automatic regression-test target for ports | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Christopher Key <cjk32> | ||||
Component: | Ports Framework | Assignee: | Steve Wills <swills> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | CC: | jbeich | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Christopher Key
2010-07-16 22:30:07 UTC
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.port.mk patch. State Changed From-To: open->suspended This cannot be added because many packages will fail the tests (false-positive). It needs to be enabled on port-by-port basis. Responsible Changed From-To: portmgr->swills Hand over to swills who is working on a testing framework and may pick some good ideas from this PR to incorporate. regression-test isn't documented, standardised[1] and only run by tinderbox but not poudriere. And this bug maybe obsolete by the addition of option helpers in bsd.options.mk. For example, to run devel/libffi tests the following is enough OPTIONS_DEFINE= TEST TEST_BUILD_DEPENDS=runtest:${PORTSDIR}/misc/dejagnu TEST_ALL_TARGET=check and if maintainer has high confidence[1] in passing tests also add OPTIONS_DEFAULT= TEST while user can globally disable via make.conf to shave build time OPTIONS_UNSET= TEST [1] examples being archivers/lzo2 and graphics/png each requiring a different way to disable running tests |