Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2012 10:31:34 +0400
From:      Vladimir Timofeev <vovkasm@gmail.com>
To:        Steve Wills <swills@freebsd.org>
Cc:        perl@freebsd.org
Subject:   Re: p5- port testing
Message-ID:  <CA%2BPuGkNhTMfr1MONWp8EyeJGzAkxyU-bwSKQkPAPPs0y2p3D=A@mail.gmail.com>
In-Reply-To: <38866d12f1539d327825fc1f8451d515.squirrel@mouf.net>
References:  <38866d12f1539d327825fc1f8451d515.squirrel@mouf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--14dae93404b94b955704d015223b
Content-Type: text/plain; charset=UTF-8

Year of silence...

Perl is a language with very mature test culture.
Why we can't utilize it?
Why we can't add regression-test target?
Can I help with this?

Mk/bsd.cran.mk has unified "regression-test" target,
Others have it in individual ports, counts:
all: 292 ports
p5: 52 ports
Why individual maintainers should invent his own "regression-test" target?

So I propose to add "regression-test" target to Mk/bsd.perl.mk
This would allow:
1. To maintainers easy test their ports
2. Build packages with more quality
3. Later we can automatically send the test failures to  CPANTS, so
the real developers of CPAN-modules can have direct feedback on errors
in their modules with freebsd

I already use modified Mk/bsd.perl.mk for some time on my system
(attached patch).


On Thu, Nov 17, 2011 at 10:01 PM, Steve Wills <swills@freebsd.org> wrote:
> Hi,
>
> Recently versions of ports-mgmt/tinderbox have support for TEST_DEPENDS.
> That, plus the attached patch, plus adding "export USE_PERL_TEST=yes" to
> .../tinderbox/scripts/etc/env/GLOBAL gives us the ability to automatically
> run test on p5- ports in tinderbox. Would anyone be interested in
> committing the patch to bsd.perl.mk?
>
> Also attached is a list of p5- ports that fail their "make test" with this
> enabled. I have been slowly working through this list, if anyone else is
> interested in helping out, that would be great. Usually it's just missing
> BUILD_DEPENDS or TEST_DEPENDS, but often there are more significant
> problems. The list is incomplete, this is just what I've happened to find.
>
> Steve
>
> _______________________________________________
> freebsd-perl@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-perl
> To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org"
>



-- 
Vladimir Timofeev <vovkasm@gmail.com>

--14dae93404b94b955704d015223b
Content-Type: application/octet-stream; 
	name="bsd.port.mk-add-regression-test.patch"
Content-Disposition: attachment; 
	filename="bsd.port.mk-add-regression-test.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hac2ug722

SW5kZXg6IE1rL2JzZC5wZXJsLm1rCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1rL2JzZC5wZXJsLm1rCShyZXZp
c2lvbiAzMDgyNjIpCisrKyBNay9ic2QucGVybC5tawkod29ya2luZyBjb3B5KQpAQCAtMjEzLDYg
KzIxMywxMiBAQAogCQkke1BFUkw1fSAtcGkgLWUgJ3MvIGRvY18ocGVybHxzaXRlfFwkJFwoSU5T
VEFMTERJUlNcKSlfaW5zdGFsbCQkLy8nIE1ha2VmaWxlCiAuZW5kaWYgIyAhZGVmaW5lZChQRVJM
X01PREJVSUxEKQogLmVuZGlmICMgIXRhcmdldChkby1jb25maWd1cmUpCisKKy5pZiAhdGFyZ2V0
KGRvLXJlZ3Jlc3Npb24tdGVzdCkKK2RvLXJlZ3Jlc3Npb24tdGVzdDoKKwlAKGNkICR7QlVJTERf
V1JLU1JDfTsgJHtTRVRFTlZ9ICR7TUFLRV9FTlZ9ICR7TUFLRX0gJHtNQUtFX0ZMQUdTfSAke01B
S0VGSUxFfSAke19NQUtFX0pPQlN9ICR7TUFLRV9BUkdTfSB0ZXN0KQorLmVuZGlmICMgIXRhcmdl
dChkby1yZWdyZXNzaW9uLXRlc3QpCisKIC5lbmRpZiAjIGRlZmluZWQoUEVSTF9DT05GSUdVUkUp
CiAKIC5pZiBkZWZpbmVkKFBFUkxfTU9EQlVJTEQpCkBAIC0yMjEsNiArMjI3LDExIEBACiAJQChj
ZCAke0JVSUxEX1dSS1NSQ307ICR7U0VURU5WfSAke01BS0VfRU5WfSAke1BFUkw1fSAke1BMX0JV
SUxEfSAke01BS0VfQVJHU30gJHtBTExfVEFSR0VUfSkKIC5lbmRpZiAjICF0YXJnZXQoZG8tYnVp
bGQpCiAKKy5pZiAhdGFyZ2V0KGRvLXJlZ3Jlc3Npb24tdGVzdCkKK2RvLXJlZ3Jlc3Npb24tdGVz
dDoKKwlAKGNkICR7QlVJTERfV1JLU1JDfTsgJHtTRVRFTlZ9ICR7TUFLRV9FTlZ9ICR7UEVSTDV9
ICR7UExfQlVJTER9ICR7TUFLRV9BUkdTfSB0ZXN0KQorLmVuZGlmICMgIXRhcmdldChkby1yZWdy
ZXNzaW9uLXRlc3QpCisKIC5pZiAhZGVmaW5lZChVU0VfR01BS0UpCiAuaWYgIXRhcmdldChkby1p
bnN0YWxsKQogZG8taW5zdGFsbDoKQEAgLTIyOCw0ICsyMzksMTEgQEAKIC5lbmRpZiAjICF0YXJn
ZXQoZG8taW5zdGFsbCkKIC5lbmRpZiAjICFkZWZpbmVkKFVTRV9HTUFLRSkKIC5lbmRpZiAjIGRl
ZmluZWQoUEVSTF9NT0RCVUlMRCkKKworLmlmICF0YXJnZXQocmVncmVzc2lvbi10ZXN0KQorCity
ZWdyZXNzaW9uLXRlc3Q6IGJ1aWxkIGRvLXJlZ3Jlc3Npb24tdGVzdAorCisuZW5kaWYgIyAhdGFy
Z2V0KHJlZ3Jlc3Npb24tdGVzdCkKKwogLmVuZGlmICMgZGVmaW5lZChfUE9TVE1LSU5DTFVERUQp
ICYmICFkZWZpbmVkKFBlcmxfUG9zdF9JbmNsdWRlKQo=
--14dae93404b94b955704d015223b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BPuGkNhTMfr1MONWp8EyeJGzAkxyU-bwSKQkPAPPs0y2p3D=A>