Re: Author tests and IPC::System::Simple
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Dec 13, 2008 at 11:19:48AM +1100, Paul Fenwick wrote:
>As such, if any of the author tests fail, it indicates there *may* be a
>bug, as opposed to if any of the main tests which, which indicate that
>there is definitely a bug.
>
>I don't know how this translates to the building of Debian packages.
>For regular users doing an 'apt-get source' to build their own .debs,
>the author tests should definitely be disabled -- leaving them on will
>cause far too many false positives due to variation between systems.
>For an actual Debian maintainer who is building packages on a known
>environment, it may be reasonable to have them enabled, since they'll
>be able to properly triage any failures reported by them. Even so, I'd
>be inclined to leave them off by default.
I suggest using DEB_MAINTAINER_MODE for such stuff.
The idea is that normally (and most importantly on Debian build daemons)
DEB_MAINTAINER_MODE is unset. If building with DEB_MAINTAINER_MODE=1
then stuff is enabled that might require interactive attention.
Have a look at the rules file of libhtml-wikiconverter-markdown-perl for
an example.
(no, you need not use CDBS like I do to use this trick)
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklDJu8ACgkQn7DbMsAkQLhS6ACfd/QR+Tk+8o+i1USn4zv6cwgM
VpAAoIQYeMsOb21ADSDhvuuibotRk9O0
=/jMJ
-----END PGP SIGNATURE-----
Reply to: