diff options
author | mat <mat@FreeBSD.org> | 2015-10-08 20:10:54 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-10-08 20:10:54 +0800 |
commit | cb54e51654014a8ea00ed1f6d1e8e5992c520d4e (patch) | |
tree | 36fb2ed9a61dcdda5394ebd4d6ae75c49d0e0a45 /lang | |
parent | d552211b4d457472f4f6c20a47494ab8b7caba97 (diff) | |
download | freebsd-ports-gnome-cb54e51654014a8ea00ed1f6d1e8e5992c520d4e.tar.gz freebsd-ports-gnome-cb54e51654014a8ea00ed1f6d1e8e5992c520d4e.tar.zst freebsd-ports-gnome-cb54e51654014a8ea00ed1f6d1e8e5992c520d4e.zip |
Use the test framework to run perl's tests.
Sponsored by: Absolight
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5-devel/Makefile | 8 | ||||
-rw-r--r-- | lang/perl5.16/Makefile | 8 | ||||
-rw-r--r-- | lang/perl5.18/Makefile | 8 | ||||
-rw-r--r-- | lang/perl5.20/Makefile | 8 | ||||
-rw-r--r-- | lang/perl5.22/Makefile | 8 |
5 files changed, 15 insertions, 25 deletions
diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile index 9389799400a0..57f9f9f1618d 100644 --- a/lang/perl5-devel/Makefile +++ b/lang/perl5-devel/Makefile @@ -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> diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index 35627c20e53c..3b919ab250b9 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -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> diff --git a/lang/perl5.18/Makefile b/lang/perl5.18/Makefile index 225f67c8c029..be460404cd32 100644 --- a/lang/perl5.18/Makefile +++ b/lang/perl5.18/Makefile @@ -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> diff --git a/lang/perl5.20/Makefile b/lang/perl5.20/Makefile index 7ba324c008bb..58a96d9e8a9c 100644 --- a/lang/perl5.20/Makefile +++ b/lang/perl5.20/Makefile @@ -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> diff --git a/lang/perl5.22/Makefile b/lang/perl5.22/Makefile index fb028a3f857a..2e0ef72c3caf 100644 --- a/lang/perl5.22/Makefile +++ b/lang/perl5.22/Makefile @@ -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> |