Commit | Line | Data |
b25e12d2 |
1 | This is the perl test library. To run all the tests, just type './TEST'. |
8d063cd8 |
2 | |
3 | To add new tests, just look at the current tests and do likewise. |
4 | |
5 | If a test fails, run it by itself to see if it prints any informative |
6 | diagnostics. If not, modify the test to print informative diagnostics. |
7 | If you put out extra lines with a '#' character on the front, you don't |
8 | have to worry about removing the extra print statements later since TEST |
9 | ignores lines beginning with '#'. |
10 | |
774d564b |
11 | If you know that Perl is basically working but expect that some tests |
12 | will fail, you may want to use Test::Harness thusly: |
bbad3607 |
13 | ./perl -I../lib harness |
774d564b |
14 | This method pinpoints failed tests automatically. |
bbad3607 |
15 | |
e22791c4 |
16 | If you come up with new tests, please send them to perlbug@perl.org. |
b25e12d2 |
17 | |
18 | Tests in the base/ directory ought to be runnable with plain miniperl. |
19 | That is, they should not require Config.pm nor should they require any |
20 | extensions to have been built. TEST will abort if any tests in the |
21 | base/ directory fail. |