diff options
-rw-r--r-- | MANIFEST | 2 | ||||
-rw-r--r-- | t/README | 13 | ||||
-rw-r--r-- | t/lib/commonsense.t (renamed from t/base/commonsense.t) | 0 |
3 files changed, 11 insertions, 4 deletions
@@ -1845,7 +1845,6 @@ scope.c Scope entry and exit code scope.h Scope entry and exit header sv.c Scalar value code sv.h Scalar value header -t/base/commonsense.t See if configuration meets basic needs t/base/cond.t See if conditionals work t/base/if.t See if if works t/base/lex.t See if lexical items work @@ -1888,6 +1887,7 @@ t/io/read.t See if read works t/io/tell.t See if file seeking works t/io/utf8.t See if file seeking works t/lib/1_compile.t See if the various libraries and extensions compile +t/lib/commonsense.t See if configuration meets basic needs t/lib/compmod.pl Helper for 1_compile.t t/lib/dprof/test1_t Perl code profiler tests t/lib/dprof/test1_v Perl code profiler tests @@ -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. @@ -10,12 +12,17 @@ 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 -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. +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 -base/ directory fail. +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/. diff --git a/t/base/commonsense.t b/t/lib/commonsense.t index 6e313073d2..6e313073d2 100644 --- a/t/base/commonsense.t +++ b/t/lib/commonsense.t |