This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH: perl@11359] possible fix for sprintf.t on VAX that loads %Config
authorPeter Prymmer <PPrymmer@factset.com>
Mon, 16 Jul 2001 16:43:14 +0000 (09:43 -0700)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Tue, 17 Jul 2001 08:26:35 +0000 (08:26 +0000)
Message-Id: <Pine.OSF.4.10.10107161631300.464972-100000@aspara.forte.com>

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

MANIFEST
t/README
t/lib/commonsense.t [moved from t/base/commonsense.t with 100% similarity]

index f0b0c1b..ac5b4f2 100644 (file)
--- 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
index 7cff553..b4b1f53 100644 (file)
--- 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/.
similarity index 100%
rename from t/base/commonsense.t
rename to t/lib/commonsense.t