78.12. TESTS CHAPTER 78. PERLTODO 78.11.6 IPv6 78.11.7 entersub XS vs Perl 78.11.8 @INC source filter to Filter::Simple 78.11.9 bincompat functions 78.11.10 Use fchown / fchmod internally 78.12 Tests 78.12.1 Make Schwern poorer 78.12.2 test B 78.12.3 Improve tests for Config.pm 78.12.4 common test code for timed bailout 78.13 Installation 78.13.1 compressed man pages 1253 Be able to install them Write portable self destruct code for tests to stop them burning CPU in infinite loops. Needs to avoid using alarm, as some of the tests are testing alarm / sleep or timers. Config.pm doesn’t appear to be well tested. A test suite for the B module would be nice. Tests for everything, At which point Schwern coughs up $500 to TPF. The old perltodo notes "This has been done in places, but needs a thorough code review. Also fchdir is available in some platforms." There are lots of functions which are retained for binary compatibility. Clean these up. Move them to mathom.c, and don’t compile for blead? The second return value from a sub in @INC can be a source filter. This isn’t documented. It should be changed to use Filter::Simple, tested and documented. At the moment pp_entersub is huge, and has code to deal with entering both perl and and XS subroutines. Subroutine implementations rarely change between perl and XS at run time, so investigate using 2 ops to enter subs (one for XS, one for perl) and swap between if a sub is redefined. Clean this up. Check everything in core works