When using Test::Inline, it is likely that not all perl files will have inline tests. However, in a build system, the simplest thing to do is build test scripts for all of them anyway, and have the test harness be smart enough to ignore the ones with no tests. There are two small problems:
1. pod2test exits with status 1 when there are no tests. This is simple to work around, and you could argue that pod2test is right to throw up a flag for this degenerate case, but I actually think it is more useful to accept it silently and create an empty test file. 2. Test::Harness::runtests complains "FAILED before any test output arrived" on empty test files. It would be convenient if it simply skipped them. As it is, I "grep -s" them out in my build script. Would patches for this be accepted? Andrew