aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-28 17:20:42 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-28 17:20:42 +0000
commit5c572259877cd7ca5a4290778fe5ebabf9dfb2a0 (patch)
treeacb73643f4fe5f57790ed056215bc1db842b57ce /CHANGES
parent8edd9d818ed2c5af206b6d8566c6a4502218b89b (diff)
downloadports-5c572259877cd7ca5a4290778fe5ebabf9dfb2a0.tar.gz
ports-5c572259877cd7ca5a4290778fe5ebabf9dfb2a0.zip
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
Notes
Notes: svn path=/head/; revision=398125
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES20
1 files changed, 20 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index e70274fd0e40..c151cc3d5a04 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,26 @@ in the release notes and/or placed into UPDATING.
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:
AUTHOR: bapt@FreeBSD.org