summaryrefslogtreecommitdiff
path: root/lib/strict.t
Commit message (Collapse)AuthorAgeFilesLines
* Print a deprecation warning if downgrading to a use VERSION below v5.11Paul "LeoNerd" Evans2022-02-131-3/+10
|
* Patch unit tests to explicitly insert "." into @INC when needed.H.Merijn Brand2016-11-111-1/+1
| | | | | require calls now require ./ to be prepended to the file since . is no longer guaranteed to be in @INC.
* Optimise strict.pm for the common caseJames Raspass2014-12-021-1/+9
|
* t/lib/common.pl can use caller to infer the name of the pragma under test.Nicholas Clark2010-07-011-6/+2
| | | | | | | This avoids needing to use a variable in package main to pass in information. Also, remove an unnecessary $ENV{PERL5LIB} assignment cargo-culted into most users of t/lib/common,pl, and remove the BEGIN block as the code it contained doesn't need to run at BEGIN time.
* Convert strict.t to use t/lib/common.plNicholas Clark2010-07-011-97/+8
|
* Remove code specific to MacOS Classic from core testsRafael Garcia-Suarez2009-09-081-7/+1
|
* Don't reuse temp files in testsJerry D. Hedden2008-09-161-2/+1
| | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510809161335j73312da3v90fa6ef0cb8ac7c@mail.gmail.com> Date: Tue, 16 Sep 2008 16:35:11 -0400 p4raw-id: //depot/perl@34377
* Fix parallel testing temp filenamesJerry D. Hedden2008-09-091-3/+3
| | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510809090852radb1044k43ff848c2d1e11fa@mail.gmail.com> Date: Tue, 9 Sep 2008 11:52:45 -0400 p4raw-id: //depot/perl@34328
* Re: [PATCH: TODO Tests] Re: [perl #53806] No complain about barewordRafael Garcia-Suarez2008-05-201-4/+7
| | | | | | From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com> Message-ID: <b77c1dce0805200114o5df69d8br9a02de5a508c3462@mail.gmail.com> p4raw-id: //depot/perl@33876
* Test tweaks for VMS from Craig Berry.Jarkko Hietaniemi2003-06-231-2/+2
| | | p4raw-id: //depot/perl@19845
* Re: Error: Unknown errorAdrian M. Enache2003-04-081-1/+1
| | | | | Message-ID: <20030408041213.GA13553@ratsnest.hole> p4raw-id: //depot/perl@19170
* Remove use of caller() in strict.pm, and tighten Safe compartmentHugo van der Sanden2002-10-101-4/+4
| | | | | for Storable tests to match. p4raw-id: //depot/perl@17986
* [perl #17061] no strict 'garbage'Elizabeth Mattijsen2002-09-081-1/+17
| | | | | | | | | From: Elizabeth Mattijsen (via RT) <perlbug@perl.org> Date: 6 Sep 2002 19:31:02 -0000 Message-Id: <rt-17061-36808.6.19994322284541@bugs6.perl.org> Date: Sat, 07 Sep 2002 13:40:22 +0200 Message-Id: <4.2.0.58.20020907133846.02476d40@mickey.dijkmat.nl> p4raw-id: //depot/perl@17869
* [perl #15987] Tests fail when sources are under CVS controlWarren Jones2002-08-121-1/+1
| | | | | | From: Warren Jones (via RT) <perlbug@perl.org> Message-id: <rt-15987-32864.15.6255441902154@bugs6.perl.org> p4raw-id: //depot/perl@17719
* Integrate macperl patch #16868.Jarkko Hietaniemi2002-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | p4raw-id: //depot/perl@16882 p4raw-integrated: from //depot/macperl@16881 'copy in' ext/B/B/Concise.pm ext/B/t/deparse.t ext/B/t/terse.t ext/DynaLoader/DynaLoader_pm.PL ext/IO/lib/IO/t/io_dup.t ext/POSIX/t/sigaction.t ext/PerlIO/t/encoding.t ext/Socket/Socket.t lib/AutoSplit.t lib/Net/Ping/t/110_icmp_inst.t lib/Net/hostent.t lib/Pod/t/Usage.t lib/Pod/t/pod2html-lib.pl lib/Test/Harness/t/callback.t lib/blib.pm lib/strict.t lib/subs.t t/lib/filter-util.pl t/lib/warnings/doio t/lib/warnings/mg t/x2p/s2p.t (@16123..) lib/Test/Simple/t/exit.t (@16230..) lib/open.t lib/warnings.t (@16255..) perl.c (@16475..) lib/Unicode/Collate.pm lib/Unicode/UCD.t (@16651..) ext/PerlIO/t/fallback.t lib/Test/Harness/t/strap-analyze.t lib/Test/Harness/t/test-harness.t (@16825..) p4raw-integrated: from //depot/macperl@16868 'copy in' lib/blib.t (@16123..) t/lib/warnings/op (@16230..) ext/Cwd/t/cwd.t ext/Digest/MD5/t/files.t (@16475..) 'merge in' ext/Storable/t/utf8hash.t lib/Test/Harness/Straps.pm (@16730..)
* cleaner close on tests, take 2 Andreas König2001-12-291-3/+3
| | | | | | | Message-ID: <m33d1tvjuq.fsf@anima.de> (except for the three DB_File patch fragments) p4raw-id: //depot/perl@13940
* Integrate macperl changes from Chris Nandor:Jarkko Hietaniemi2001-09-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12192 11817 11815 11813 11778 11775 Update CPAN.pm to work with new Mac::BuildTools instead of ExtUtils::MM_MacOS "orphan" functions Fix test Make syntax check report in MPW style, fix tests to use Mac::err=unix to get normal-style error messages. More module and test ports from Thomas Wegner et al Fix open of /dev/null for Mac OS Allow for platforms to override formatting of errors on output from Matthias Neeracher (core files) p4raw-id: //depot/perl@12235 p4raw-edited: from //depot/maint-5.6/macperl@12234 'edit in' lib/File/DosGlob.pm t/op/magic.t (@11007..) p4raw-integrated: from //depot/maint-5.6/macperl@12234 'copy in' lib/File/Spec/Mac.pm lib/File/Temp.pm (@11007..) 'merge in' ext/File/Glob/Glob.pm lib/CPAN.pm (@11007..) ext/File/Glob/bsd_glob.c t/base/term.t (@11185..) t/op/runlevel.t (@11198..) t/pod/testp2pt.pl (@11500..) p4raw-integrated: from //depot/maint-5.6/macperl@11815 'merge in' perl.c (@11806..) p4raw-integrated: from //depot/maint-5.6/macperl@11775 'merge in' perl.h pp_ctl.c util.c (@11007..)
* Move the locale/strict/warnings helper files backJarkko Hietaniemi2001-06-181-1/+1
| | | | | | under the t/lib; this way the amount of non-installabled stuff under lib/ stays smaller. p4raw-id: //depot/perl@10686
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-181-0/+100
No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676