summaryrefslogtreecommitdiff
path: root/t/README
blob: 7cff553d5b84ad97daf77ddfd6315f0a427dfe6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This is the perl test library.  To run all the tests, just type './TEST'.

To add new tests, just look at the current tests and do likewise.

If a test fails, run it by itself to see if it prints any informative
diagnostics.  If not, modify the test to print informative diagnostics.
If you put out extra lines with a '#' character on the front, you don't
have to worry about removing the extra print statements later since TEST
ignores lines beginning with '#'.

If you know that Perl is basically working but expect that some tests
will fail, you may want to use Test::Harness thusly:
	./perl -I../lib harness
This method pinpoints failed tests automatically.

If you come up with new tests, please send them to perlbug@perl.org.

Tests in the base/ directory ought to be runnable with plain miniperl.
That is, they should not require Config.pm nor should they require any
extensions to have been built.  TEST will abort if any tests in the
base/ directory fail.