1 This is the perl test library. To run most of the tests, just type './TEST'
2 (which will not run the tests residing in lib/ or ext/. In order to run
3 all of the tests type 'make test' from the build direcotory above t/).
5 To add new tests, just look at the current tests and do likewise.
7 If a test fails, run it by itself to see if it prints any informative
8 diagnostics. If not, modify the test to print informative diagnostics.
9 If you put out extra lines with a '#' character on the front, you don't
10 have to worry about removing the extra print statements later since TEST
11 ignores lines beginning with '#'.
13 If you know that Perl is basically working but expect that some tests
14 will fail, you may want to use Test::Harness thusly:
16 ./perl -I../lib harness
17 This method pinpoints failed tests automatically.
19 If you come up with new tests, please send them to perlbug@perl.org.
21 Tests in the t/base/ directory ought to be runnable with plain miniperl.
22 That is, they should not require Config.pm nor should they require any
23 extensions to have been built. TEST will abort if any tests in the
24 t/base/ directory fail.
26 Tests in the t/comp/, t/cmd/, t/run/, t/io/, and t/op/ directories should
27 also be runnable by miniperl and not require Config.pm, but failures
28 to comply will not cause TEST to abort like for t/base/.