Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2012 08:54:58 -0500
From:      Steve Wills <swills@FreeBSD.org>
To:        perl@FreeBSD.org
Subject:   TEST_DEPENDS support and other issues
Message-ID:  <4F327EB2.6060605@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Perl Porters,

As you may know, I've been working on adding support for testing perl
modules, starting with adding TEST_DEPENDS to all perl modules which
need it. Does anyone have opinions on me using the perl@ hat to add
TEST_DEPENDS for those perl modules which need it and avoiding sending
PRs to maintainers and waiting for approval?

Also, I'd love to hear feedback on a PR I have which is a first step
towards adding TEST_DEPENDS support to bpm. It's PR 164896. Right now
it just adds support for the test target. I need add support for
installing the TEST_DEPENDS if one calls "make test" from the port
dir, but I haven't been able to decide if I should work on a separate
"test stage" similar to the fetch/extract/patch/build/run, etc. stages
or of simply creating a separate target makes sense. Feedback on that
would be much appreciated too.

Finally, if anyone has thoughts on adding -pthread to the perl builds,
I'd like to get that done. Note that this isn't about enabling
useithreads support in perl, but rather about building perl with
- -pthread so that libthr is linked before libc. This means that if perl
loads a module which uses threads or is linked against a lib that uses
threads, it can use threads properly. Please see PR 163878 and PR
163512 for more details. I discussed this a bit with tobez@ but I
think it's important that more folks understand it. This issue is
something that came up in my testing project as the source of many
test failures.

My apologies for bringing up so many issues in one mail. I should have
sent this sooner and have waited until the issues piled up.

Thanks,
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBAgAGBQJPMn6yAAoJEPXPYrMgexuh/0UH+gOsuLlgxsS39Q1JMMLhqylP
Bc6R+t3x8aIVh5VJjlM2PjfJ/yuGxVzTBPoYaRlf93wr5P8bPWj1vTUFGAcrUPPh
4TFiS7LJ8dyA8NH0z+qY2VVrPe3i+2SqJ8/DyH5v1a/gt0lYeKPkw1islBCZMmFO
BKkx5fIsha1oLQzh1NP3LcpUfVX85gtEsmQqMxIcPGOeF49/lFGSsEkfNVzOgZ1j
sm6Hgu1T3J+ysItABasms1ImQq0PU3zHvGzkUvMpIPXsb//MCXMg213leEPcGfdK
WUC3+SfDupKa+d1BfZDEKdcqsfOyBoRFLtsc8MfhNFAPo+zSDXmbL/97qgPNlOY=
=Q4M+
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F327EB2.6060605>