aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-11-09 23:54:03 +0800
committermat <mat@FreeBSD.org>2015-11-09 23:54:03 +0800
commit9f8255c2aa63d180dc39267fa172b110a85bd8f7 (patch)
treeef2536a419e37fc359fad43f1307c32fab5f63c4
parent0c8fccf27be7ee59188cf5f1f9b592d639759518 (diff)
downloadfreebsd-ports-gnome-9f8255c2aa63d180dc39267fa172b110a85bd8f7.tar.gz
freebsd-ports-gnome-9f8255c2aa63d180dc39267fa172b110a85bd8f7.tar.zst
freebsd-ports-gnome-9f8255c2aa63d180dc39267fa172b110a85bd8f7.zip
When !defined(DEVELOPER), stage-qa is not put in the stage pipeline.
Make it depend on stage, and point people to adding DEVELOPER=yes to their environment. Discussed with: bapt Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D4082
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9068aa560cf6..664ff8001875 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -5047,6 +5047,9 @@ check-orphans: check-plist
stage-qa:
@${ECHO_MSG} "====> Running Q/A tests (stage-qa)"
@${SETENV} ${QA_ENV} ${SH} ${SCRIPTSDIR}/qa.sh
+.if !defined(DEVELOPER)
+ @${ECHO_MSG} "/!\\ To run stage-qa automatically add DEVELOPER=yes to your environment /!\\"
+.endif
.endif
# Fake installation of package so that user can pkg delete it later.
@@ -5728,6 +5731,8 @@ _STAGE_SEQ= 050:stage-message 100:stage-dir 150:run-depends \
${_OPTIONS_stage} ${_USES_stage}
.if defined(DEVELOPER)
_STAGE_SEQ+= 995:stage-qa
+.else
+stage-qa: stage
.endif
_TEST_DEP= stage
_TEST_SEQ= 100:test-message 150:test-depends 300:pre-test 500:do-test \