From: Peter Prymmer Date: Mon, 16 Jul 2001 16:43:14 +0000 (-0700) Subject: Re: [PATCH: perl@11359] possible fix for sprintf.t on VAX that loads %Config X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd87065d8cc9739b106c44d77dbbfef28bca8065;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH: perl@11359] possible fix for sprintf.t on VAX that loads %Config Message-Id: Move t/base/commonsense.t to t/lib/commonsense.t - base tests should not depend on existance of Config.pm p4raw-id: //depot/perl@11398 --- diff --git a/MANIFEST b/MANIFEST index f0b0c1b..ac5b4f2 100644 --- a/MANIFEST +++ b/MANIFEST @@ -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 diff --git a/t/README b/t/README index 7cff553..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. @@ -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 similarity index 100% rename from t/base/commonsense.t rename to t/lib/commonsense.t