Changeset View
Changeset View
Standalone View
Standalone View
head/CHANGES
Updating Information for FreeBSD ports developers | Updating Information for FreeBSD ports developers | ||||
This file is maintained by portmgr@FreeBSD.org and copyrighted by the | This file is maintained by portmgr@FreeBSD.org and copyrighted by the | ||||
FreeBSD Foundation. | FreeBSD Foundation. | ||||
This file contains major changes to ports and the ports infrastructure. | This file contains major changes to ports and the ports infrastructure. | ||||
Intended audience are ports committers, maintainers and other | Intended audience are ports committers, maintainers and other | ||||
developers. User oriented changes should be submitted for inclusion | developers. User oriented changes should be submitted for inclusion | ||||
in the release notes and/or placed into UPDATING. | in the release notes and/or placed into UPDATING. | ||||
All ports committers are allowed to commit to this file. | All ports committers are allowed to commit to this file. | ||||
20150928: | |||||
AUTHOR: amdmi3@FreeBSD.org | |||||
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' if upstream supports that. The port may also | |||||
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 provide default test target on their own. | |||||
20150926: | 20150926: | ||||
AUTHOR: bapt@FreeBSD.org | AUTHOR: bapt@FreeBSD.org | ||||
@sample now accept arguments, so it can now be used the following way: | @sample now accept arguments, so it can now be used the following way: | ||||
@sample afile.sample | @sample afile.sample | ||||
or | or | ||||
@sample path/to/example etc/target | @sample path/to/example etc/target | ||||
▲ Show 20 Lines • Show All 2,946 Lines • Show Last 20 Lines |