Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 base
Octocat-spinner-32 benchmark
Octocat-spinner-32 bigmem
Octocat-spinner-32 cmd
Octocat-spinner-32 comp
Octocat-spinner-32 io
Octocat-spinner-32 japh
Octocat-spinner-32 lib
Octocat-spinner-32 mro
Octocat-spinner-32 op
Octocat-spinner-32 opbasic
Octocat-spinner-32 porting
Octocat-spinner-32 re
Octocat-spinner-32 run
Octocat-spinner-32 test_pl
Octocat-spinner-32 uni
Octocat-spinner-32 win32
Octocat-spinner-32 x2p
Octocat-spinner-32 README
Octocat-spinner-32 TEST
Octocat-spinner-32 harness
Octocat-spinner-32 perl.supp
Octocat-spinner-32 test.pl
Octocat-spinner-32 thread_it.pl
README
This is the perl test library.  To run the test suite, just type './TEST'
or 'make test' from the build directory above t/.  See also the section
"Special Make Test Targets" in pod/perlhack.pod to learn about other
specific test commands.

To add new tests, just look at the current tests and do likewise.
The library t/test.pl provides some utility functions that you can use
in most tests, except in the most basic ones.

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:
        cd t
        ./perl harness
This method pinpoints failed tests automatically.

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

Tests in the t/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
t/base/ directory fail.

Tests in the t/comp/, t/cmd/, t/run/, t/io/, t/op/ and t/uni/ directories
should also be runnable by miniperl and not require Config.pm, but
failures to comply will not cause TEST to abort like for t/base/.
Something went wrong with that request. Please try again.