svn commit: r398814 - in head/lang: perl5-devel perl5.16 perl5.18 perl5.20 perl5.22

Mathieu Arnold mat at FreeBSD.org
Thu Oct 8 12:10:56 UTC 2015


Author: mat
Date: Thu Oct  8 12:10:54 2015
New Revision: 398814
URL: https://svnweb.freebsd.org/changeset/ports/398814

Log:
  Use the test framework to run perl's tests.
  
  Sponsored by:	Absolight

Modified:
  head/lang/perl5-devel/Makefile
  head/lang/perl5.16/Makefile
  head/lang/perl5.18/Makefile
  head/lang/perl5.20/Makefile
  head/lang/perl5.22/Makefile

Modified: head/lang/perl5-devel/Makefile
==============================================================================
--- head/lang/perl5-devel/Makefile	Thu Oct  8 11:28:29 2015	(r398813)
+++ head/lang/perl5-devel/Makefile	Thu Oct  8 12:10:54 2015	(r398814)
@@ -22,6 +22,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_ART10=	${WRKSRC}/Artistic
 LICENSE_FILE_GPLv1=	${WRKSRC}/Copying
 
+TEST_TARGET=	test_harness
+TEST_ENV=	${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER}
+
 # XXX Remove github things.
 USE_GITHUB=	yes
 GH_ACCOUNT=	Perl
@@ -283,9 +286,4 @@ post-install:
 		done
 	${INSTALL_DATA} ${WRKDIR}/perl-man.conf ${STAGEDIR}${PREFIX}/etc/man.d/perl${PERL_VER}.conf
 
-test: build
-	(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
-
-regression-test: test
-
 .include <bsd.port.mk>

Modified: head/lang/perl5.16/Makefile
==============================================================================
--- head/lang/perl5.16/Makefile	Thu Oct  8 11:28:29 2015	(r398813)
+++ head/lang/perl5.16/Makefile	Thu Oct  8 12:10:54 2015	(r398814)
@@ -19,6 +19,9 @@ LICENSE_FILE_GPLv1=	${WRKSRC}/Copying
 DEPRECATED=	Unsupported, please upgrade to a more recent version of Perl
 EXPIRATION_DATE=2015-12-31
 
+TEST_TARGET=	test_harness
+TEST_ENV=	${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER}
+
 OPTIONS_DEFINE=	DEBUG GDBM PERL_MALLOC PERL_64BITINT THREADS PTHREAD \
 		MULTIPLICITY SITECUSTOMIZE USE_PERL
 OPTIONS_DEFAULT=	PERL_64BITINT THREADS PTHREAD USE_PERL MULTIPLICITY
@@ -275,9 +278,4 @@ post-install:
 		done
 	${INSTALL_DATA} ${WRKDIR}/perl-man.conf ${STAGEDIR}${PREFIX}/etc/man.d/perl${PERL_VER}.conf
 
-test: build
-	(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
-
-regression-test: test
-
 .include <bsd.port.post.mk>

Modified: head/lang/perl5.18/Makefile
==============================================================================
--- head/lang/perl5.18/Makefile	Thu Oct  8 11:28:29 2015	(r398813)
+++ head/lang/perl5.18/Makefile	Thu Oct  8 12:10:54 2015	(r398814)
@@ -19,6 +19,9 @@ LICENSE_FILE_GPLv1=	${WRKSRC}/Copying
 DEPRECATED=	Unsupported, please upgrade to a more recent version of Perl
 EXPIRATION_DATE=2016-12-31
 
+TEST_TARGET=	test_harness
+TEST_ENV=	${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER}
+
 OPTIONS_DEFINE=	DEBUG GDBM PERL_64BITINT PTHREAD \
 		MULTIPLICITY SITECUSTOMIZE USE_PERL
 # it seems perl malloc has problems with threaded perl on FreeBSD
@@ -246,9 +249,4 @@ post-install:
 		done
 	${INSTALL_DATA} ${WRKDIR}/perl-man.conf ${STAGEDIR}${PREFIX}/etc/man.d/perl${PERL_VER}.conf
 
-test: build
-	(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
-
-regression-test: test
-
 .include <bsd.port.mk>

Modified: head/lang/perl5.20/Makefile
==============================================================================
--- head/lang/perl5.20/Makefile	Thu Oct  8 11:28:29 2015	(r398813)
+++ head/lang/perl5.20/Makefile	Thu Oct  8 12:10:54 2015	(r398814)
@@ -16,6 +16,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_ART10=	${WRKSRC}/Artistic
 LICENSE_FILE_GPLv1=	${WRKSRC}/Copying
 
+TEST_TARGET=	test_harness
+TEST_ENV=	${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER}
+
 OPTIONS_DEFINE=	DEBUG GDBM PERL_64BITINT PTHREAD \
 		MULTIPLICITY SITECUSTOMIZE
 # it seems perl malloc has problems with threaded perl on FreeBSD
@@ -240,9 +243,4 @@ post-install:
 		done
 	${INSTALL_DATA} ${WRKDIR}/perl-man.conf ${STAGEDIR}${PREFIX}/etc/man.d/perl${PERL_VER}.conf
 
-test: build
-	(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
-
-regression-test: test
-
 .include <bsd.port.mk>

Modified: head/lang/perl5.22/Makefile
==============================================================================
--- head/lang/perl5.22/Makefile	Thu Oct  8 11:28:29 2015	(r398813)
+++ head/lang/perl5.22/Makefile	Thu Oct  8 12:10:54 2015	(r398814)
@@ -16,6 +16,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_ART10=	${WRKSRC}/Artistic
 LICENSE_FILE_GPLv1=	${WRKSRC}/Copying
 
+TEST_TARGET=	test_harness
+TEST_ENV=	${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER}
+
 OPTIONS_DEFINE=	DEBUG GDBM PERL_64BITINT PTHREAD \
 		MULTIPLICITY SITECUSTOMIZE
 # it seems perl malloc has problems with threaded perl on FreeBSD
@@ -238,9 +241,4 @@ post-install:
 		done
 	${INSTALL_DATA} ${WRKDIR}/perl-man.conf ${STAGEDIR}${PREFIX}/etc/man.d/perl${PERL_VER}.conf
 
-test: build
-	(cd ${WRKSRC}; TEST_JOBS=${MAKE_JOBS_NUMBER} make test_harness)
-
-regression-test: test
-
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list