Re: Change 33313 causing failures

2008-02-15 Thread Nicholas Clark
foo)s+(?bar)?s+(?baz))/ > > Line > > 3793 > > > > The 'failure' is the extra 'not' before the pound sign. > > I tried to figure out what's causing it, but couldn't. 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

Re: Wide character support for Test::More

2008-02-24 Thread Nicholas Clark
;s terminal is expecting the same (8 bit) encoding as the script already 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

Re: Is there even a C compiler?

2008-02-25 Thread Nicholas Clark
ject file extension. You can get that from $Config: $ perl -V:obj_ext obj_ext='.o'; Nicholas Clark

Re: CPANTesters considered harmful

2008-03-03 Thread Nicholas Clark
t skipping is better, because the tests run as non-root already prove that the module's functionality worked. Adding 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

Re: CPANTesters considered harmful

2008-03-03 Thread Nicholas Clark
UsedAvail Capacity Mounted on nas:/data 258199522 203419366 3412419686%/filer Nicholas Clark

Re: My Perl QA Hackathon Wishlist

2008-03-26 Thread Nicholas Clark
led from other projects * It doesn't matter the the main project 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

Re: TAP YAML Diagnostics

2008-04-06 Thread Nicholas Clark
are not those which you want to consider reserved. 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

Re: [tap-l] User Supplied YAML Diagnostic Keys: Descriptive Version

2008-04-13 Thread Nicholas Clark
have to care about $ 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

Re: OT: muttrc (was: User Supplied YAML Diagnostic Keys: Descriptive Version)

2008-04-14 Thread Nicholas Clark
On Mon, Apr 14, 2008 at 01:54:02PM +0200, Aristotle Pagaltzis wrote: > * Nicholas Clark <[EMAIL PROTECTED]> [2008-04-14 08:00]: > > $ grep -c 'ignore X' ~/.muttrc > > 100 > > > > That's the ones I've collected that I don't care about. And

Re: TODO Tests

2008-05-12 Thread Nicholas Clark
test to call it quite tersely, with minimal code duplication, possibly using closures. One will still get all the diagnostics from running the test twice. It would just be that the second test, the one we currently don't have a way to write, would loose its "TODO" and become a hard fail if things change in the wrong direction. Nicholas Clark

Re: About tidying up Kwalitee metrics

2008-06-25 Thread Nicholas Clark
t in turn to make it pass I could well spend more time bodging that than actually writing documentation. Which, I agree with chromatic, would be stupid, and not something that I'd like to see promoted. (Is "You have POD and it's well formed" is something that is already tested?) Nicholas Clark

Re: [RFC] Dual-lifing test.pl

2008-07-01 Thread Nicholas Clark
ropose > > turning it into a module and dual-lifing it to CPAN. > > Nicholas Clark wrote: > > Why are they using it, rather than something built from > > Test::Builder? What does it offer that Test::Builder > > derived modules don't? > > Jerry D. Hedden

Re: [RFC] Dual-lifing test.pl

2008-07-01 Thread Nicholas Clark
hich_perl(), fresh_perl* and the isa/can tests) Nicholas Clark

Re: App::Prove::State Users?

2008-08-22 Thread Nicholas Clark
here: http://public.activestate.com/cgi-bin/perlbrowse?filename=t%2Fharness&show_blame=Show+Annotated+File If you want to break it, it doesn't matter. I'll take it out again. Nicholas Clark

Re: The relation between CPAN Testers and quality (or why CPAN Testers sucks if you don't need it)

2008-09-05 Thread Nicholas Clark
ication time is stamped with a time from the client, and if they're out the "impossible" can happen. Which when you're sanity testing the ops that read these sorts of things, you're looking out for. Although I suspect that there can be more general problems with make getting (correctly) confused by timestamps on files it touched. Nicholas Clark

passing the baton onwards (was Re: The relation between CPAN Testers and quality (or why CPAN Testers sucks if you don't need it))

2008-09-05 Thread Nicholas Clark
it's a problem. I'm not convinced that your cure will work with all real world volunteers. Nicholas Clark

Re: Sub::Uplevel vs Test::More

2008-09-10 Thread Nicholas Clark
t;use > warnings" to my code. ;-) Wouldn't it be simpler to send a patch to domm that makes the warnings point credited if the module states a requirement on perl pre 5.006, and has a -w on the #! line? Nicholas Clark

Re: Sub::Uplevel vs Test::More

2008-09-10 Thread Nicholas Clark
erything the warnings pragma can do, so by changing to use it I might be adding bugs. Nicholas Clark

Re: Can't locate version/vpp.pm in @INC

2008-09-11 Thread Nicholas Clark
en, because modules containing XS should be installed to an architecture specific path, and the architecture name used differs for threaded versus unthreaded. Nicholas Clark

Re: PerlUnit

2008-09-16 Thread Nicholas Clark
t ;-) > > You need a +15 modifier of nothingbettertodoism to vote. So everyone gainfully employed because they know what they are doing is automatically disqualified? Nicholas Clark

How to write a test for Test::Builder?

2008-09-19 Thread Nicholas Clark
ly tested for. What's the best way to write a test that fits within the current frameworks to prevent any regression? It's not obvious to me how to make use_ok() test for failure. Nicholas Clark

Re: How to write a test for Test::Builder?

2008-09-19 Thread Nicholas Clark
On Fri, Sep 19, 2008 at 03:35:36PM -0500, brian d foy wrote: > In article <[EMAIL PROTECTED]>, Nicholas Clark > <[EMAIL PROTECTED]> wrote: > > > But it seems that this bug is only fixed as a side effect of that change, > > and > > it's not actually tes

malformed TAP?

2009-01-14 Thread Nicholas Clark
Is this TAP valid? ok 1 - killed the keyd 1..1 ok 2 - Child exit of 3 was expected prove (v3.14) thinks so: All tests successful. Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.07 CPU) Result: PASS I'm not convinced. Nicholas Clark

Re: Perl 6 and Test.pm's skip() function

2009-01-23 Thread Nicholas Clark
ming link karma was worth keeping, hence the original bid remains. Buyer beware. You *are* getting what you paid for.) Nicholas Clark

Re: use-case for isnt()

2009-02-12 Thread Nicholas Clark
gt; isnt( $foo, '', "Got some foo" ); > > > which feels such a weak test I don't think I'd write it. I find isnt($foo, undef); useful as it gives better failure diagnostics than ok(defined $foo); Nicholas Clark

Re: use-case for isnt()

2009-02-14 Thread Nicholas Clark
On Sat, Feb 14, 2009 at 12:57:45PM +0200, Gabor Szabo wrote: > On Thu, Feb 12, 2009 at 3:18 PM, Nicholas Clark wrote: > > I find > > > >isnt($foo, undef); > > > > useful as it gives better failure diagnostics than > > > >ok(defined $foo);

Re: Please test Module::Build release candidate

2009-02-23 Thread Nicholas Clark
ntly has this difference from Module::Build http://perl5.git.perl.org/perl.git/commit/86bddcbfaf2555223ec8fc596416d13d7a1a1118 which relates to https://rt.cpan.org/Public/Bug/Display.html?id=42724 Nicholas Clark

Re: Making TODO Tests Fail

2009-07-14 Thread Nicholas Clark
just sitting in the garden, I opted for sitting in the garden. I would have done again last night, except that the sun had already gone away. Pesky daystar. :-) Nicholas Clark

Re: What's up with "No targets specified and no makefile found"?

2009-12-22 Thread Nicholas Clark
an.org/~mschwern/ExtUtils-MakeMaker-6.56/ says "Repository http://github.com/schwern/extutils-makemaker " Nicholas Clark

Re: Devel::Cover 'time' html column

2010-05-26 Thread Nicholas Clark
these days? ie - is it possible to refactor Devel::Cover to provide the same coverage reports, but generate them from an nytprof.out file? If not, what's missing from the nytprof.out file? Would this reduce the maintenance load on Devel::Cover? Nicholas Clark

Re: Perl QA Hackathon 2012

2011-11-04 Thread Nicholas Clark
staying in a hotel roughly midway, so walked to it from Gare du Nord, and walked from the hotel to the venue) I like things that are convenient for la Gare du Nord. I'm biased :-) Nicholas Clark

Re: Dual life t/test.pl?

2011-11-15 Thread Nicholas Clark
82%28v=vs.85%29.aspx I've also found http://msdn.microsoft.com/en-us/library/ms738547%28v=vs.85%29.aspx Whereas the BSD socket() implementation works in such a way that a socket FD can be substituted for a file FD, pipe FD or tty FD, and the program continues to work just as it did before, without needing any special case code. Doesn't even need recompiling.) Nicholas Clark

Re: Dual life t/test.pl?

2011-11-17 Thread Nicholas Clark
On Wed, Nov 16, 2011 at 11:15:21PM -0800, Michael G Schwern wrote: > On 2011.11.16 5:58 PM, Father Chrysostomos via RT wrote: > > I think these patches are safe, but given the recent thread about > > dual-lifing test.pl I'm not even sure whether I should apply it or not. >

Re: TB2::Mouse will be internal use only... with one hitch.

2011-11-30 Thread Nicholas Clark
ferent machine to actually run the complete tests. > That's worst case. I can probably get compile time down at least 20ms which > shaves off about 30 seconds. The IO::Compress tests being such a reliable serial bottleneck that I can set off a complete build and test run while writing this e-mail just to check that I had the right distribution, and it finishes before me :-) Nicholas Clark

Re: [QA2012] IRC Meeting 2011-01-12

2012-01-13 Thread Nicholas Clark
vate. Meanwhile the unwilling stars of Wikileaks have discovered that whilst it was always the case that anything you write down might end up becoming public, computers just make this a lot easier on an industrial scale. Nicholas Clark

TAP::Harness uses lots of RAM to store test results

2013-04-10 Thread Nicholas Clark
the time. So is it possible for TAP::Parser to use a more efficient format in memory to "archive" results for tests where every single subtest was an "ok"? Nicholas Clark

Re: TAP::Harness uses lots of RAM to store test results

2013-04-11 Thread Nicholas Clark
someone will think that as this is an optimisation project, it's fun. The code is here: https://github.com/Perl-Toolchain-Gang/Test-Harness Nicholas Clark

Re: QA for Perl

2013-08-02 Thread Nicholas Clark
97 from any available sources - mostly stable and development release tarballs. So we have over 25 years of history in version control, although the resolution of changes isn't that good for changes more than 16 years old. Nicholas Clark

<    1   2