])C
$message = dl_error C
so I guess that as much as that as possible, preferable all needs testing
(in an ideal world. As I found with Benchmark.t, trying to test everything
gets quite big. And it had less things than Dynaloader.)
Nicholas Clark
, if your Term::ANSIColor is installed in 5.6.1's directories,
just build yourself a 5.005_03 in the regular place :-)
Nicholas Clark
--
EMCFT http://www.ccl4.org/~nick/CV.html
had about perlipc once. (rant-and-patch, IIRC)
I also remember another thing that fell off my to-do list - try to make
some of the perlipc examples into regression tests. That was related to
the SOCKS5-rant]
Nicholas Clark
--
Even better than the real thing:http://nms
a
regression test, explaining how to do it, how perl5's tests are structured
to reduce interdependencies, use Test::More; when Test::More is not
appropriate..
And where did the p5p FAQ get to?
Nicholas Clark
at BEGIN time.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
modules in t/lib/.
On Thursday, August 29, 2002, at 06:51 AM, Nicholas Clark wrote:
You'll often see regression tests in the core start like this:
sub BEGIN {
if ($ENV{PERL_CORE}){
chdir('t') if -d 't';
INC = ('.', '../lib');
} else {
unshift INC, 't
a -T test by hand.
So I don't see this as a problem:
../perl -TI. -MTestInit t/path/to/test.t
1..1
ok 1
Although writing it -T -I. is probably clearer
Nicholas Clark
to check 64 bit
cleanliness before true 64 bit sparc chips were available)
k, but this is a missing info from smoke report.
I can add $Config{archname} to the smokereports if you all want that.
That would be good.
Nicholas Clark
is that it's entirely accurate. If you know what sbrk() is in
Unix, then you know that this would return it. The value is not directly
memory used or anything like that. It's the current sbrk() :-)
Nicholas Clark
.
(And do document what it does return on each different system)
Nicholas Clark
, the
encode compiler, and everyone building perl from source]
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
*, because I've not
incorporated more bits based the several other good ideas *I* hadn't thought
of that other people told me.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
for you?
That's what I want. :-)
[To be honest, I don't care if it's a Schwern (closure) who merely puts it
onto his (captured lexical) $TODO, as long as there's also a reference to
Chromatic to actually get a round tuit. That still gets my tests written for
me with maximal laziness]
Nicholas Clark
On Wed, Nov 06, 2002 at 07:18:14PM -0500, Michael G Schwern wrote:
On Sat, Oct 26, 2002 at 04:22:49PM +0100, Nicholas Clark wrote:
However, I'd like to be able to cleanly print out my random number seed to
STDERR (or whatever Test::Builder's correct name for this is) if it believes
that any
for
production.
Nicholas Clark
it with more than one file to stub.
PerlIO
if Jarkko-of-Borg assimilates PerlIO::gzip (which I wasn't sure he was
thinking about) it's got (currently) 98 tests that have picked up some of
the bugs in the core PerlIO system.
Are there prizes for every regression test added? :-)
Nicholas Clark
])C
$message = dl_error C
so I guess that as much as that as possible, preferable all needs testing
(in an ideal world. As I found with Benchmark.t, trying to test everything
gets quite big. And it had less things than Dynaloader.)
Nicholas Clark
and causing a whole automatic test run to fail.
[and in the case of a busy hang, rather than an idle hang, munching shared
CPU]
Also, did the Windows Gurus work out why the above didn't like Win95?
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
a
regression test, explaining how to do it, how perl5's tests are structured
to reduce interdependencies, use Test::More; when Test::More is not
appropriate..
And where did the p5p FAQ get to?
Nicholas Clark
at BEGIN time.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
understand any Farsi or have any Farsi fonts installed, it's
not going really to help if I have a look.)
So you may wish to install fa_IR and test with that.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
modules in t/lib/.
On Thursday, August 29, 2002, at 06:51 AM, Nicholas Clark wrote:
You'll often see regression tests in the core start like this:
sub BEGIN {
if ($ENV{PERL_CORE}){
chdir('t') if -d 't';
INC = ('.', '../lib');
} else {
unshift INC, 't
a -T test by hand.
So I don't see this as a problem:
../perl -TI. -MTestInit t/path/to/test.t
1..1
ok 1
Although writing it -T -I. is probably clearer
Nicholas Clark
is that it's entirely accurate. If you know what sbrk() is in
Unix, then you know that this would return it. The value is not directly
memory used or anything like that. It's the current sbrk() :-)
Nicholas Clark
.
(And do document what it does return on each different system)
Nicholas Clark
*, because I've not
incorporated more bits based the several other good ideas *I* hadn't thought
of that other people told me.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
you mean dropping all automatic threading support? In which case, how
does one test threaded code? [not that I've written any]
Will there be an explicit thread testing module?
Nicholas Clark
request for some way to register such a callback.
Nicholas Clark
--
Brainfuck better than perl? http://www.perl.org/advocacy/spoofathon/
On Wed, Nov 06, 2002 at 07:18:14PM -0500, Michael G Schwern wrote:
On Sat, Oct 26, 2002 at 04:22:49PM +0100, Nicholas Clark wrote:
However, I'd like to be able to cleanly print out my random number seed to
STDERR (or whatever Test::Builder's correct name for this is) if it believes
that any
for
production.
Nicholas Clark
.
Nicholas Clark
including the entire human genome as a prereq has added
a new sharp upwards spike to CPAN's mean prereq size/module size ratio.
We've not seen anything like this since Meta added a dependency on the
entire Linux 2.7.15 source tree back on April 2nd 2005
:-)
Nicholas Clark
which test was the missing test
Or if I've got that wrong, I think that we also get confused with 2
adjacent sub tests.
ok 1
ok 2
ok 3
1..3
ok
ok
ok
ok
ok
1..3
Nicholas Clark
as the last bit of output then that's a fail.
I've had things exit cleanly midway from a no_plan test script, and the
harness has been none the wiser. But I just do stupid things.
Nicholas Clark
;
system $c;
}
__END__
http://rt.perl.org/rt2/Ticket/Display.html?id=22270
where I don't agree with any of the explainations (IIRC) and stand by the
bug. (But ran out of time to find a better explaination)
Nicholas Clark
on this either right now, but
there's always next month.
Nicholas Clark
aware of this. Or at least, it doesn't ring a bell. Is perl5-porters
aware of this? Is this a known change in behaviour?
Not that this invalidates your reasons for needing to stick to 5.6.x
Nicholas Clark
than not, if you don't feel able to take on
a whole module)
Nicholas Clark
of
them knocks out the routine and finds a bug]
Nicholas Clark
On Wed, Dec 22, 2004 at 11:41:56AM -0800, Ovid wrote:
--- Nicholas Clark [EMAIL PROTECTED] wrote:
On Wed, Dec 22, 2004 at 10:26:02AM -0800, David Wheeler wrote:
1. Perl gets smarter about duping file handles, so that the dupes
get
the same i/o layer settings as the handles they dupe
On Mon, Jan 31, 2005 at 10:12:16AM +0100, Paul Johnson wrote:
I suppose that's the price you pay for TIMTOWTDI.
[ Is that a Python programmer I hear giggling in the background? ]
Does Python have any equivalent tool to Devel::Cover?
Nicholas Clark
experiment is a very good first step to
convincing others to help you with it, and having something that is mostly
finished is a good way to get someone else to host a fully working version.
Actions speak louder than words.
Nicholas Clark
that $foo being undef was an acceptable match for $bar
being an empty string. (Not so sure about the other 13 comparison operators)
I think I'd prefer like to fail (distinct from warning) if $foo is undef,
given that the expected regexp may well intentionally match an empty string.
Nicholas Clark
as dependencies. This is fraut with
peril.
When I rule the world (and therefore have requisitioned everyone's tuits)
there will be smoke testing that starts from a clean install each time.
However, right now I don't have time to try to write this. Sorry.
Nicholas Clark
too polite to push the book he and Richard Foley
wrote: http://www.apress.com/book/bookDisplay.html?bID=399
Nicholas Clark
On Wed, Jul 20, 2005 at 02:52:40PM -0500, Andy Lester wrote:
On Wed, Jul 20, 2005 at 08:49:11PM +0100, Nicholas Clark ([EMAIL PROTECTED])
wrote:
Because Andy would be far too polite to push the book he and Richard Foley
wrote: http://www.apress.com/book/bookDisplay.html?bID=399
That's
]
We should at least throw the poor module author's a bone and leave
Acme:: out of this.
Hey! that would decrease *my* score! ;-)
I've no idea what it would do to my score.
Nicholas Clark
with the roundness of my stock
of tuits. (or in other words there are things I find I care more about and
deal with first)
Nicholas Clark
)
But it's only important if it's easy to make. And I'd much prefer time and
effort to go into writing better modules, better tests, and better tools,
than generating heat.
Nicholas Clark
;
print $1'
perl
Nicholas Clark
even with the newest versions of Class::Spiffy
etc? I had failures with YAML not liking an existing installed Spiffy, but
upgrading everything seemed to resolve that.
If that's not it, then I don't know, but Ingy is often around on IRC.
Nicholas Clark
On Fri, Feb 03, 2006 at 11:30:13AM +0100, Tels wrote:
Problaby just because the last guy running RISC OS has died 4 years ago.
SCNR :-)
Well, the list is *slightly* more active than that:
http://www.nntp.perl.org/group/perl.riscos
Nicholas Clark
for the length of the synopsis?
I was thinking this too. Some synopses aren't.
Nicholas Clark
to work around strange issues thrown up by certain AIX
compilers in certain configurations...
Nicholas Clark
were in a position to notice. I'm not sure how much
work that would be.
Nicholas Clark
the ? from the _ inside the regexp, which was added
in http://public.activestate.com/cgi-bin/perlbrowse?patch=27925
I felt it better to get the code perfectly in sync than to preserve minor
recent (possible) fixes and have to keep track of the fork.
Nicholas Clark
to display. This class would suck in the
subroutines associated with strap_callback as methods. In turn, it would
stop the evil storing of callback state in the main T::H object. In turn,
the globals $ML $Last_ML_Print can be eliminated and stored as state in this.
Nicholas Clark
in the core
need some issues fixing before they can run in parallel with each other. I
suspect that their names for temporary files are unimaginative and therefore
clash)
I've got the code for a select driven event loop that can run all this, if
that's helpful.
Nicholas Clark
a mentee and TPF actually does fund this project
and this code is substantially better than Test::Harness such that it is an
obvious candidate for inclusion in the Perl core.
It must be under the Perl license.
For the core, what he says. Period.
Nicholas Clark
be
part of the language.
Who's Chromatic?
And it wasn't even the start of a sentence. :-)
[When doing the perl 6 summaries, Piers reconciled the forces of accuracy and
traditional grammar by ensuring by always rephrasing to some sentence order
that didn't start with chromatic]
Nicholas Clark
to read or use). I would have found some sort of done testing
call useful to have made the test script fail for this case.
Nicholas Clark
was the culprit.
Why am I wrong?
Nicholas Clark
mean that both could check out the same testsuite, and both could
commit back to it.
Nicholas Clark
if the repositories were different, instead of simply one being a subtree of
another. That was all.
Nicholas Clark
of their
packaging system by having another directory tree in @INC ahead of the
core library paths, into which they install newer versions of dual life
modules. This way no files need to be overwritten on disk, or dual-owned,
yet Perl will still pick up the correct (newer) version.
Nicholas Clark
thought it was.
Nicholas Clark
be vague (due to no clear single release where it became
workable)
Nicholas Clark
people are putting their descriptions after hash marks,
not before.
We could just fix the core.
Nicholas Clark
without starting to fail
(before 1 is achieved, due to some sort of set up data being exhausted)
Nicholas Clark
let
an authenticated machine file a bug report with unmangled patch?
Nicholas Clark
this.
Nicholas Clark
Sun, so I had plenty of
headroom to run more TAP generating threads.
Nicholas Clark
making the table. I guess it's a bit of a
bikeshed, but having horizontal lines between each will increase the amount
of vertical space needed to convey the same information, which will mean
fewer failures will be needed to exceed my screen's height.
Nicholas Clark
un-Unixy portable devices.
IIRC DOS didn't get directories until 1.1
Nicholas Clark
is very unoriginal in its naming of temporary
files)
Nicholas Clark
to preserve that term for something positive :)
Such as herding MakeMaker for years with no-one ever saying thanks.
Thanks, Schwern.
(although I'm feeling a bit false as I'm not sure how much of that is simply
because I'm glad that it wasn't me who had to do it)
Nicholas Clark
?
Surely one can post-process a regular TAP file to sparse output?
And only do so if the TAP file is valid non-sparse output.
This seems safer than generating it by default.
Nicholas Clark
- I'm ok
ok 8 - You're ok
ok 9 - I'm ok
ok 10 - You're ok
ok 11 - I'm ok
ok 12 - You're ok
ok 13 - I'm ok
ok 14 - You're ok
ok 15 - I'm ok
ok 16 - You're ok
ok 17 - I'm ok
ok 18 - You're ok
ok 19 - I'm ok
ok 20 - You're ok
Does anything spring to mind as to the cause?
Nicholas Clark
actually writing code, and
more time relaxing and being sociable by replying to e-mail on lists. :-)
Meetings - the practical alternative to work.
Nicholas Clark
://london.pm.org/meetings/locations/antelope.html
There will be more beer on 5th April, venue to be confirmed. Possibly with
an emergency before then because Simon Cozens is going to Japan.
Nicholas Clark
On Sun, Mar 18, 2007 at 01:37:36AM +, Andy Armstrong wrote:
Are we expecting a YAML reader / writer to be core anytime soon?
Not that I'm aware of.
Nicholas Clark
On Mon, Mar 19, 2007 at 09:12:08AM -0500, Andy Lester wrote:
On Mar 19, 2007, at 8:11 AM, Andy Lester wrote:
Begin forwarded message:
Alright, [EMAIL PROTECTED] should work within 30 minutes or so.
I dunno, I just saw that Nicholas Clark had requested it, and I
forwarded
somewhere in Outer Mongolia, and won't be back for about 2 weeks:
http://use.perl.org/~domm/journal/33801
http://use.perl.org/~domm/journal/33878
He then might be rather busy until the end of YAPC::EU
Don't be hasty with the f word.
Nicholas Clark
.
Nicholas Clark
,
the parser in Test::Harness became the bottleneck.
Nicholas Clark
, but the concept is especially worthless if you
can't depend on their existence.)
To your own modules?
If so, why on earth is anyone upset about this?
Any chance you could convince a few thousand ISPs of that? I'm game.
And this is why.
Nicholas Clark
in the general case)
Nicholas Clark
wonder if lawyers can be
upgraded]
Nicholas Clark
. The cause was
that each based their reasoning on a different set of assumptions, and what
one thought important the other thought was not, and vice versa.
Nicholas Clark
.
Nicholas Clark
On Mon, Jan 07, 2008 at 04:19:17PM +, David Cantrell wrote:
On Sat, Jan 05, 2008 at 10:24:47PM +, Nicholas Clark wrote:
Not tested, but, can you
1: grab the address of print's op from PL_ppaddr
2: store it somewhere useful
3: replace it in PL_ppaddr with your own function
on the writes, but instead only spotted at close time (when
everything resynchronised). The compiler wasn't checking the return value
of close.
Then again, close time might be too late for the application you're
describing, if it is holding files open for long periods.
Nicholas Clark
.
Is it possible to put the TAP parser into a strict mode where it would detect
and fault these sorts of things?
(I think most specifically these things are lines that aren't /^ok/,
/^not ok/ or /^#/ )
Nicholas Clark
is in.
However, it might be safe enough to invoke the testing Perl with -CLS
(set STDIN/STDOUT/STDERR to UTF-8 if the user's locale has UTF-8 in it)
which is probably going to be more right more often than anything else.
Not sure if -CLS only came in with 5.8.1
Nicholas Clark
-V:obj_ext
obj_ext='.o';
Nicholas Clark
a lot
of complex logic to the test to swap user when running as root would
actually make the test as much a test of the user ID swapping code,
and introduce code that isn't usually tested, and generally introduce
fragility and cause false positive failures.
Nicholas Clark
/tmp/
$ date Pie
$ chflags uchg Pie
$ date Pie
bash: Pie: Operation not permitted
$ cd ~/test
$ date Pie
$ chflags uchg Pie
chflags: Pie: Operation not supported
$ df .
Filesystem 1K-blocks UsedAvail Capacity Mounted on
nas:/data 258199522 203419366 3412419686%/filer
Nicholas Clark
if it fails
* It can expand (or contract) to fit the student's abilities and whatever end
is reached it can still be declared a success
* It doesn't have a high barrier of entry due to needing knowledge of existing
code bases.
Now, does anyone know a student?
Nicholas Clark
. I guess that one
needs to loop over all characters in the string, and verify that if
$char eq lc $char then also $char ne uc $char. (But one could first
short circuit the common pass case with the test above)
Nicholas Clark
$ grep -c 'ignore X' ~/.muttrc
100
That's the ones I've collected that I don't care about. And some of those are
common prefixes.
I guess that there are bazillions more. There's one born every minute.
Nicholas Clark
1 - 100 of 125 matches
Mail list logo