Commit | Line | Data |
---|---|---|
8d063cd8 LW |
1 | This is the perl test library. To run all the tests, just type 'TEST'. |
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 | |
774d564b | 16 | If you come up with new tests, please send them to larry@wall.org. |