aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-03-13 23:08:21 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-03-13 23:08:21 +0800
commit942d3c16531e1130493afecc6de088405ada5857 (patch)
tree1f3d7842c5f6864ffcf41197560001ec6eaf86c3 /Mk/Uses
parentd035f7802eec15193bd643340c5d13f15e184076 (diff)
downloadfreebsd-ports-gnome-942d3c16531e1130493afecc6de088405ada5857.tar.gz
freebsd-ports-gnome-942d3c16531e1130493afecc6de088405ada5857.tar.zst
freebsd-ports-gnome-942d3c16531e1130493afecc6de088405ada5857.zip
- Check test:
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/perl5.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 3f624f7d21f0..cbdc9324df22 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -265,7 +265,10 @@ TEST_ARGS+= ${MAKE_ARGS}
TEST_ENV+= ${MAKE_ENV}
TEST_TARGET?= test
TEST_WRKSRC?= ${BUILD_WRKSRC}
-regression-test test: build
+.if !target(test)
+test: regression-test
+.endif # test
+regression-test: build
.if ${USE_PERL5:Mmodbuild*}
-cd ${TEST_WRKSRC}/ && ${SETENV} ${TEST_ENV} ${PERL5} ${PL_BUILD} ${TEST_TARGET} ${TEST_ARGS}
.elif ${USE_PERL5:Mconfigure}