| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2015-01-13 David E. Wheeler <david@justatheory.org>
* Release 3.29
NOTE: This will be the last release of Pod::Simple to support versions
of Perl earlier than 5.6.
Fixed test failure for unsupported encoding on Perl 5.6.
Removed unnecessary dependency on constant. Reported by Petr Pisar
(RT #85578).
Many documentation and comment typos fixed by David Steinbrunner.
Fixed issue when an encoding is declared via an '=encoding' directive
*after* Pod::Simple has already detected an encoding. Thanks to
Graham Knop for the patch and Patrice Dumas for the tests.
Added '>&STDERR' as an output to better emulate
Pod::Parser::parse_from_file(). Florent Angly.
Tidied the description of the different Pod::Simple interfaces,
with greater emphasis on the four different steps to subclassing.
Florent Angly.
Added the 'top_anchor' attribue to Pod::Simple::HTML, to allow
specification of a custom top anchor format. Gabor Szabo.
Fixed the text formatter to properly set the Text::Wrap overflow policy.
Thanks to Nigel Metheringham for the fix!
Fixed mis-matched quotation marks when adding JavaScript elements
to the XHTML output. Patch from jonathancast.
Fixed issues on EBCDIC. Patch from Karl Williamson (GitHub Pull
Request #58).
Fixed bug where the value passed to Pod::Simple::XHTML's
html_css() method would be output twice. Thanks to Andrew Johnson
for the report (RT #99303).
Documented the 'recurse' attribute of Pod::Simple::Search.
Thanks to Jim Keenan for the report (RT #91886).
An error is no longer thrown when '=encoding' directives are found
on subsequent lines. Instead, we now log a an error message,
"Cannot have multiple =encoding directives" (RT #91757).
The HTML and XHTML formatters now do a better job of preserving
lines in 'begin html' blocks. Fixes a bug that dates from 2002
(Perl RT#9385, CPAN RT #91851).
Collateral damage to 3 tests under ext/Pod-Html/.
|
|
|
|
|
|
|
|
| |
[DELTA]
3.28 - 2015-01-16
* Update MANIFEST for regened base/todo files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This subpragma is to allow p5p to add warnings/errors for regex patterns
without having to worry about backwards compatibility. And it allows
users who want to have the latest checks on their code to do so. An
experimental warning is raised by default when it is used, not because
the subpragma might go away, but because what it catches is subject to
change from release-to-release, and so the user is acknowledging that
they waive the right to backwards compatibility. I will be working in
the near term to make some changes to what is detected by this.
Note that there is no indication in the pattern stringification that it
was compiled under this. This means I didn't have to figure out how to
stringify it. It is fine because using this doesn't affect what the
pattern gets compiled into, if successful. And interpolating the
stringified pattern under either strict or non-strict should both just
work.
|
|
|
|
| |
Tony: fix MANIFEST
|
|
|
|
|
|
|
|
| |
[DELTA]
5.95 Sat Jan 10 12:15:36 MST 2015
- modified the bit-ordering test (ref. t/bitorder.t)
-- supplied directory-change preamble for CORE builds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
5.94 Sat Jan 10 00:45:28 MST 2015
- added support for threaded builds
-- PERL_GET_NO_CONTEXT, pTHX_, aTHX_, etc.
-- employed 'const' storage class where possible
-- ref. rt.cpan.org #101260
- simplified shabits() routine (bitwise input buffering)
-- slightly less efficient but easier to understand
-- ref. rt.cpan.org #101344
- minor documentation tweaks and additions
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were 3 ideas for a patch: mine, Slaven's, and Father
Chrysostomos'. I tried out all 3, and all three appear to work, without
breaking #123171. But I chose FC's as I think it is the best.
I had to create a new .t because it turns out that the test didn't fail
when placed in the obvious test file, wrappers.t. It appears that the
'use File::Temp' in that file perturbs things to not fail later on.
This is scary, so I created a minimal file. I thought about using
fresh_perl, but wrappers.t needs functions from Test::More.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This flag will prevent () from capturing and filling in $1, $2, etc...
Named captures will still work though, and if used will cause $1, $2, etc...
to be filled in *only* within named groups.
The motivation behind this is to allow the common construct of:
/(?:b|c)a(?:t|n)/
To be rewritten more cleanly as:
/(b|c)a(t|n)/n
When you want grouping but no memory penalty on captures.
You can also use ?n inside of a () directly to avoid capturing, and
?-n inside of a () to negate its effects if you want to capture.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.26 2014-12-26 16:27:23+00:00 UTC
* BUGFIX / INCOMPAT: Remove "fileno" and "umask" from the list of
CORE subs protected by autodie and Fatal.
When they return undef, it is not a failure.
* BUGFIX: Fixed an error that could occur during global destruction of
the form "(in cleanup) Can't use an undefined value as an ARRAY
reference at .../autodie/Scope/GuardStack.pm line 48 during global
destruction" (Thanks to Dave Rolsky).
* BUGFIX: The open-pragma is now properly ignored when open is
given an explicit layer. This brings autodie protected
open in sync with open. Thanks to Gregory Oschwald and
Graham Knop for the report + test case and the patch.
(GH#52 + GH#53)
* BUGFIX: Hide the "SCALAR" (buffer) argument in the string
representation of autodie::exception for the read,
sysread and syswrite CORE subs. This is to avoid
a dump of binary data to the screen/log when a
(sys)read or syswrite fails.
* FEATURE: Let autodie::exception work in equality tests and
string comparison via "overload fallback".
(Thanks to Michael G. Schwern)
* DOC: Mention that "kill" is in the ":ipc" category. It has
been there since autodie v2.14.
(Thanks to Felipe Gasper for reporting it, RT#97320).
* INTERNAL: Use "parent" instead of "base" for inheritance. Also
avoid some @ISA relationships that were redundant.
Either truly redundant ones or by importing "import"
from Exporter v5.57.
- This change implies that perl 5.8 users must now
also fetch "parent" from cpan.
(Thanks to Olivier Mengué, GH#59)
* DEVEL / TEST: The autodie module now accepts an undefined Fatal
version, assuming it to be development version.
Test cases that require versions are now either
skipped or considered "release" test.
* TEST / INTERNAL: Enabled travis-ci for Perl 5.20
* TEST: Close temp file before re-opening in t/truncate.t.
(Thanks to Craig A. Berry, RT#96609)
* TEST: Pass O_TRUNC with O_CREAT to sysopen in t/utf8_open.t.
(Thanks to Craig A. Berry, RT#87237)
* TEST: Clean up temp file in t/truncate.t.
(Thanks to Dave Mitchell, RT#100688)
|
|
|
|
|
|
|
| |
Why do we test for something that can be trivially accomplished by a
make manisort?
This is just makework with no value.
|
|
|
|
|
|
|
|
|
|
|
| |
This encapsulates the logic to extract the backrefs from a weak-referent.
Since sv_get_backrefs() can be used for a similar purposes as hv_backreferences_p()
we no longer need to export the later, and therefore this patch also reverts
ad2f46a793b4ade67d45ac0086ae62f6756c2752.
See perl #123473 for related discussion, and https://github.com/Sereal/Sereal/issues/73
for a practical example of why this API is required.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.131 2014-12-23 15:04:19-05:00 America/New_York
[ENHANCEMENTS]
- Merging Module => 0 into requirements is now optimized
[PREREQS]
- Scalar::Utils removed as a prerequisite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is also the subject of perl #123071.
The iteration count was stored in an I32 and was overflowing. If the
maximum number of iterations possible overflowed, then it would become
negative, and the substitution would fail immediately with ‘Substitu-
tion loop’.
I tried fixing this without increasing the size of the context
stack entries on 64-bit builds (by skipping the loop check for long
strings), but was unable to, because we have to return the number of
iterations, which was also stored as I32. If we change just that one
to SSize_t, we get an I32-sized alignment hole, so we might as well
make maxiters a SSize_t as well, fixing the bug that way (the more
straightforward way).
|
|
|
|
| |
Add alternate email address for Chad Granum to Porting/checkAUTHORS.pl.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
"clang -fsanitize=undefined" produces lots of false positives.
This file allows certain functions to be excluded from checking.
Use it as:
clang -fsanitize=undefined -fsanitize-blacklist=`pwd`/asan_ignore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.50 2014-06-04 rurban
----
* Do not re-bless already blessed filter_add arguments into the callers package.
Fixes RT #54452
* t/z_pod-coverage.t: omit empty Filter::decrypt (also fixes RT #84405)
* Fix Perl Compiler detection in Filter::decrypt
1.51 2014-12-09 rurban
----
* Minor -Wall -Wextra cleanups by jhi and me. Fixes RT #100742
* Updated Copyright years
* Document and warn about its limitations
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
For non-ASCII systems, there are character set translation tables. This
makes sure the two accessible ones are inverses of each other. If not,
nothing can be expected to work right.
|
|
|
|
|
| |
These are obsolete that no longer do anything useful. See
http://nntp.perl.org/group/perl.perl5.porters/222709
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This op is an optimisation for any series of one or more array or hash
lookups and dereferences, where the key/index is a simple constant or
package/lexical variable. If the first-level lookup is of a simple
array/hash variable or scalar ref, then that is included in the op too.
So all of the following are replaced with a single op:
$h{foo}
$a[$i]
$a[5][$k][$i]
$r->{$k}
local $a[0][$i]
exists $a[$i]{$k}
delete $h{foo}
while these aren't:
$a[0] already handled by OP_AELEMFAST
$a[$x+1] not a simple index
and these are partially replaced:
(expr)->[0]{$k} the bit following (expr) is replaced
$h{foo}[$x+1][0] the first and third lookups are each done with
a multideref op, while the $x+1 expression and
middle lookup are done by existing add, aelem etc
ops.
Up until now, aggregate dereferencing has been very heavyweight in ops; for
example, $r->[0]{$x} is compiled as:
gv[*r] s
rv2sv sKM/DREFAV,1
rv2av[t2] sKR/1
const[IV 0] s
aelem sKM/DREFHV,2
rv2hv sKR/1
gvsv[*x] s
helem vK/2
When executing this, in addition to the actual calls to av_fetch() and
hv_fetch(), there is a lot of overhead of pushing SVs on and off the
stack, and calling lots of little pp() functions from the runops loop
(each with its potential indirect branch miss).
The multideref op avoids that by running all the code in a loop in a
switch statement. It makes use of the new UNOP_AUX type to hold an array
of
typedef union {
PADOFFSET pad_offset;
SV *sv;
IV iv;
UV uv;
} UNOP_AUX_item;
In something like $a[7][$i]{foo}, the GVs or pad offsets for @a and $i are
stored as items in the array, along with a pointer to a const SV holding
'foo', and the UV 7 is stored directly. Along with this, some UVs are used
to store a sequence of actions (several actions are squeezed into a single
UV).
Then the main body of pp_multideref is a big while loop round a switch,
which reads actions and values from the AUX array. The two big branches in
the switch are ones that are affectively unrolled (/DREFAV, rv2av, aelem)
and (/DREFHV, rv2hv, helem) triplets. The other branches are various entry
points that handle retrieving the different types of initial value; for
example 'my %h; $h{foo}' needs to get %h from the pad, while '(expr)->{foo}'
needs to pop expr off the stack.
Note that there is a slight complication with /DEREF; in the example above
of $r->[0]{$x}, the aelem op is actually
aelem sKM/DREFHV,2
which means that the aelem, after having retrieved a (possibly undef)
value from the array, is responsible for autovivifying it into a hash,
ready for the next op. Similarly, the rv2sv that retrieves $r from the
typeglob is responsible for autovivifying it into an AV. This action
of doing the next op's work for it complicates matters somewhat. Within
pp_multideref, the autovivification action is instead included as the
first step of the current action.
In terms of benchmarking with Porting/bench.pl, a simple lexical
$a[$i][$j] shows a reduction of approx 40% in numbers of instructions
executed, while $r->[0][0][0] uses 54% fewer. The speed-up for hash
accesses is relatively more modest, since the actual hash lookup (i.e.
hv_fetch()) is more expensive than an array lookup. A lexical $h{foo}
uses 10% fewer, while $r->{foo}{bar}{baz} uses 34% fewer instructions.
Overall,
bench.pl --tests='/expr::(array|hash)/' ...
gives:
PRE POST
------ ------
Ir 100.00 145.00
Dr 100.00 165.30
Dw 100.00 175.74
COND 100.00 132.02
IND 100.00 171.11
COND_m 100.00 127.65
IND_m 100.00 203.90
with cache misses unchanged at 100%.
In general, the more lookups done, the bigger the proportionate saving.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was removed a year ago, but it causes problems with
ABSTACT and ABSTACT_FROM; since there isn't an IO/Compress.pm
file. make_ext.pl special-cases Makefile.PL to get the abstract
from IO/Compress/Base.pm; but MakeMaker looks for, and fails to
find, 'IO::Compress - ...' in the pod for that file,and prints an error.
Rather than more special-casing, it's easier to just restore the
distribution's Makefile.PL, which already contains the correct
'ABSTRACT => ...' entry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This tool runs code snippets found in t/perf/benchmarks (or similar) under
cachegrind, in order to calculate how many instruction reads, data writes,
branches, cache misses, etc. that one execution of the snippet uses. It
will run them against two or more perl executables and show how much each
test has gotten better or worse.
It is modelled on the perlbench tool, but since it measures instruction
reads etc., rather than timings, it is much more precise and reproducible.
It is also considerably faster, and is capable or running tests in
parallel. Rather than displaying a single relative percentage per
test/perl combination, it displays values for 13 different measurements,
such as instruction reads, conditional branch misses etc.
This commit also changes the format of t/perf/benchmarks slightly; it
becomes an AoH rather than a HoH (to allow checking for duplicate keys),
and the test names themselves become a :: hierarchy.
|
| |
|
| |
|
|
|
|
| |
For: RT #123277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
2.143240 2014-11-20 10:26:30-05:00 America/New_York
[FIXED]
- Give correct path in nested merges such as resources
- Removed strings test that should have been removed when
CPAN::Meta::Requirements was removed to a separate dist
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
0.051 2014-11-17 22:58:44-05:00 America/New_York
[FIXED]
- Checks for threads without loading threads.pm
|
|
|
|
|
|
| |
It took me a while to find these tests. Most of these tests are arranged
by which C file they occur in. (These warning tests were originally
added to make sure all warnings in all C files get tested.)
|
| |
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 3709f1d4bd0179938a418d9337449fdf20a783bc.
We are using the alphas in blead currently, not stable, this update
squashed that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
7.02 Sat Nov 8 07:13:40 GMT 2014
No changes from 7.01_09
7.01_09 Thu Nov 6 21:41:32 GMT 2014
Test fixes:
- Marked a test in pm_to_blib.t as TODO until further
investigation can be scheduled
7.01_08 Tue Nov 4 20:24:29 GMT 2014
Test fixes:
- roll back change in 7.01_07 and scrub PERL_INSTALL_QUIET
environment variable
7.01_07 Tue Nov 4 19:26:46 GMT 2014
Test fixes:
- Changed a regex in pm_to_blib.t to be more forgiving
7.01_06 Mon Nov 3 20:31:05 GMT 2014
Bug fixes:
- Resolved regression with TEST_FILES
Win32 fixes:
- Targetted fix for nmake bug
- miniperl.t core test fixed for Windows
7.01_05 Mon Nov 3 10:14:11 GMT 2014
VMS fixes:
- Handle switches in $(PERL) by prepending MCR
- Don't quote MAKE on VMS in Test::Utils
7.01_04 Fri Oct 31 09:38:06 GMT 2014
API change:
- writeMakefile() has been removed after 20 years of being deprecated
Bug fixes:
- Regression in xs.t with older versions of xsubpp has been resolved
- We now don't produce Borland C export symbols if BCC support dropped
7.01_03 Thu Oct 30 19:12:57 GMT 2014
Bug fixes:
- Using NMAKE was broken this has been fixed
7.01_02 Sat Oct 25 17:45:46 BST 2014
Bug fixes:
- Resolve a regression with FIXIN and core builds on Win32
7.01_01 Sat Oct 25 13:45:00 BST 2014
Bug fixes:
- Resolve issue with Win32 perl builds in core
7.00 Wed Oct 22 20:13:38 BST 2014
No changes from 6.99_18
6.99_18 Mon Oct 20 10:02:58 BST 2014
Bug fixes:
- Resolve regression with taint and get_version() [RT#99580]
VMS fixes:
- Avoid .NOTPARALLEL on VMS as it is a syntax error for MMS and MMK
- Quotes are not stripped from argv[0] on VMS so need stripping
- Move MCR from PERL to PERLRUN on VMS and other *RUN variables
6.99_17 Sun Oct 12 19:37:04 BST 2014
Bug fixes:
- Fix test that got broke under core since 6.99_15
6.99_16 Thu Oct 2 19:29:49 BST 2014
Dist fixes:
- Move File::Copy::Recursive from bundled to where it is
used, so that it will not get installed as a runtime
prereq
6.99_15 Sun Sep 21 13:21:46 BST 2014
Enhancements:
- If core, add ccwarnflags and ccstdflags, if available
Doc fixes:
- Fix internal links
6.99_14 Fri Sep 19 14:59:08 BST 2014
Bug fixes:
- Fixes to fallback version module for core integration problems
6.99_13 Mon Sep 15 20:02:47 BST 2014
Enhancements:
- Bundle Encode::Locale as ExtUtils::MakeMaker::Locale
Bug fixes:
- Make included version module have standardised dist versioning
6.99_12 Thu Sep 11 15:27:31 BST 2014
Enhancements:
- Now include a fallback version module for bootstrapping
Bug fixes:
- Support libfoo.0.dylib style libraries on Darwin
6.99_11 Mon Sep 8 14:20:26 BST 2014
Bug fixes:
- Handle chcp failure better on MSWin32
- Tests should be parallelisable once again
Doc fixes:
- Document that GNU make is usable on MSWin32 now
6.99_10 Thu Sep 4 14:28:01 BST 2014
Bug fixes:
- Fixes for being integrated with core
- Fixed the code page reset on MSWin32
- Fixed test failures on BSD with UTF8 filenames
- Fixed regression with quoting of $(PERL) when
command line flags are used
6.99_09 Thu Aug 28 11:01:37 BST 2014
Enhancements:
- Support GNU Make on Windows
- Support paths and filenames that are UTF8 encoded
- MM->can_run() added for finding programs (ported from
IPC::Cmd)
Bug fixes:
- Handle UTF8 when generating manpages correctly
- Generated Makefile contents are now consistently sorted
6.99_08 Mon Aug 18 14:17:04 BST 2014
Bug fixes:
- Liblist::Kid: can now handle -l:foo.so invocations properly
- Scripts will no longer have the 'not running under some shell' code
applied when rewriting shebang lines.
- version is now used to parse prereqs versions internally
- Support UTF8 encoded command-line args and Makefile.PL args
- Generated META.files will now always have linefeed EOLs, even on
Windows
- Rewrite the version line eval handling to have less insane edge cases
Doc fixes:
- Documentation now includes links to Dist::Zilla, File::ShareDir and
File::ShareDir::Install
- Clarified support policy for < v5.8.1 in README
Misc:
- Updated bundled CPAN::Meta::Requirements to version 2.126
- Updated bundled ExtUtils::Manifest to version 1.65
6.99_07 Wed Jul 30 17:36:14 BST 2014
Bug fixes:
- Resolve 'wide character in print' warnings
6.99_06 Mon Jul 28 15:02:25 BST 2014
Enhancements:
- Improvements and tests for the spaces-in-stuff handling
6.99_05 Tue Jul 22 12:32:03 BST 2014
Enhancements:
- Enable working with (including installing to) directories with spaces in names
6.99_04 Sat Jul 12 12:43:08 BST 2014
Enhancements:
- No longer report each file being manified. Only summarise.
6.99_03 Fri Jul 4 11:02:21 BST 2014
Doc Fixes:
- PATCHING document has been rewritten as CONTRIBUTING and TODO
document has been removed
Bug Fixes:
- Rearranged bundled prereqs so CPAN::Meta::Requirements won't
get stomped on if it is installed already, but CPAN::Meta isn't
6.99_02 Thu Jun 5 12:15:28 BST 2014
Bug fixes:
* MM->parse_version will no longer warn if it could
not determine the $VERSION due to syntax errors etc.
6.99_01 Tue Jun 3 22:17:30 BST 2014
Bug fixes:
* Disregard some warnings during tests when cross-compiling
Doc fixes:
* Clarified the use and limitations of META_ADD, META_MERGE
Test fixes:
* Sanitise env vars in tests
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
$Revision: 2.64 $ $Date: 2014/10/29 15:37:54 $
! t/utf8warnings.t MANIFEST
Retouch pull #26 so it works with perl < 5.14
! Encode.pm
+ t/utf8warnings.t
Pulled: Catch and re-issue utf8 warnings at a higher level
https://github.com/dankogai/p5-encode/pull/26
+ Encode.xs
Pulled: Validate continuations in the incremental UTF-X decoder
https://github.com/dankogai/p5-encode/pull/25
|
|
|
|
| |
This reverts commit 08ac0af6a0260a3939c4904c299200adee71010d.
|
|
|
|
| |
This reverts commit b22d640684f6001bfd63316a6a3ce69127745943.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch creates an empty t/TestValgrind.pm file, and requires it
from t/TEST when ENV{PERL_VALGRIND} is set. As such its seeks to
reinterpret the comments at the top of t/TEST.
I propose that the "no require allowed" rule appply to code reached
from "make test" without options.
Code used only for special case testing, like "make test.valgrind", or
with options passed in via $ENV{TEST_OPTS}, need not be constrained
like this.
A broken require is not something seen until the statement is executed
and throws an error. There is nothing special about require at
parse-time that must be avoided, unless we're more than typically
paranoid.
make test.valgrind
/bin/sh -e ./runtests choose
./perl TEST
sh -c valgrind --log-fd=3 --suppressions=perl.supp --leak-check=yes --leak-resolution=high --show-reachable=yes --num-callers=50 --track-origins=yes ./perl -I.. -MTestInit porting/podcheck.t 3>podcheck.t.valgrind-current
valgrind --log-fd=3 --suppressions=perl.supp --leak-check=yes --leak-resolution=high --show-reachable=yes --num-callers=50 --track-origins=yes ./perl -I.. -MTestInit porting/podcheck.t
If this argument is accepted, it looks simple to move the VALGRIND
related code blocks into new subroutines in the now-empty
TestValgrind.pm file, and call them appropriately.
|
|
|
|
| |
Fix thread issue from 069
|
|
|
|
|
|
| |
* performance enhancements
* bug fixes
* comaptability improvements
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug report filed by James Avera argued that "File::Spec->abs2rel($path, $base)
is supposed to allow $path and/or $base to be relative to the current working
directory, and the pod says that if either are relative, they are converted to
absolute using 'rel2abs()'."
The cases reported as failing were subsequently reported as passing. Adding a
test file to confirm this. TODO: Adapt test for VMS.
For: RT #121360
|
| |
|