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
NO_BUILD does more than dummy do-build. It creates BUILD_COOKIE that marks
all targets in _BUILD_SEQ as done, including do-build-${opt}-on/off and
post-build-${opt}-on/off. Since the targets haven't been run yet
do-install-DOXYGEN-on fails due to missing files.
Fix by leaking a call to nop "all" target in vendor Makefile. It should
be less kludgy than defining our own dummy do-build and less confusing
than treating do-build itself as an option helper. In case "all" starts
doing something useful the port would automatically take advantage of it.
PR: 202951
Reviewed by: mat
Approved by: portmgr blanket
- Update MASTER_SITES
- Add my LOCAL to MASTER_SITES
- Use USE_CSTD
- Use MAKE_CMD
- Reformat pkg-descr
- Update WWW
- Take maintainership
- Bump PORTREVISION for devel/protobuf shlib change
Changes: https://code.google.com/p/protobuf/source/browse/trunk/CHANGES.txt
- Use USES=libtool
- Fix USE_PYTHON
- Convert to new options helper
- Bump PORTREVISION for package change
- Do not hard-coded PORTVERSION in PLIST
- Bump PORTREVISION for graphics/geos shlib change
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
- Canonicalize patch names
- Fix DOS line endings in patch files