PACKAGING1
Notes and best practice for packaging perl 5
Customizing test running
A small number of porting tests (those in t/porting) are not well suited to typical distribution packaging scenarios. For example, they assume they are working in a git clone of the upstream Perl repository, or enforce rules which are not relevant to downstream packagers. These can be skipped by setting the environment variable PERL_BUILD_PACKAGING. A complete list of tests which this applied to can be found by searching the codebase for this string.
An alternative strategy would be to skip all porting tests, but many of them are useful if additional patches might be applied.
Customizing patchlevel to advertise your local patches
You can advertise your custom local patches by using patchlevel.h as a standalone Perl script.
Sample usage:
perl -x patchlevel.h "This is a custom patch"
Disabling known flapping tests
Some tests could fail under heavy load, whereas in most cases they would simply succeed. Usually, continuous integration systems will at one point or the other reach that problem.
To disable these known tests, please set the environment variable CI to true.
CI=true
History
- OpenBSD 8.0-current (2026-11-01) to OpenBSD 8.0: the text shown here
- OpenBSD 7.9
- OpenBSD 7.8 to OpenBSD 7.7
- OpenBSD 7.6
- OpenBSD 7.5
- OpenBSD 7.4
- OpenBSD 7.3
- OpenBSD 7.2 to OpenBSD 6.9
- OpenBSD 6.8
- OpenBSD 6.7
- OpenBSD 6.6
- OpenBSD 6.5