X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2FREADME;h=b4b1f533ba8df19dd6ff3d6ef849e6fe1b2e60e7;hb=158b3652342ca691c9e3b061a1d78456ae1a9b4a;hp=d714295dd25d99e66f454d6662a9b7b0a9d9cde7;hpb=c07a80fdfe3926b5eb0585b674aa5d1f57b32ade;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/README b/t/README index d714295..b4b1f53 100644 --- a/t/README +++ b/t/README @@ -1,4 +1,6 @@ -This is the perl test library. To run all the tests, just type 'TEST'. +This is the perl test library. To run most of the tests, just type './TEST' +(which will not run the tests residing in lib/ or ext/. In order to run +all of the tests type 'make test' from the build direcotory above t/). To add new tests, just look at the current tests and do likewise. @@ -8,4 +10,19 @@ 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 come up with new tests, send them to lwall@sems.com. +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 -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 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/, and t/op/ 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/.