logo       

Re: [PATCH] Forking tests with Test::More: msg#00151

Subject: Re: [PATCH] Forking tests with Test::More
On 3/28/06, Tassilo von Parseval <tassilo.von.parseval@xxxxxxxxxxxxxx> wrote:
> On Tue, Mar 28, 2006 at 11:27:15AM +0100 Fergal Daly wrote:
> > That's why I said you prefix with a ".".
> >
> > This has the effect of making it not a number as far as TAP is
> > concernted, instead it becomes part of the name.
> >
> > Of course it would be better to allow "."s in the number, that way you
> > can check that they are increasing properly and allows you to have
> > sub-plans (so each fork/thread/block can have it's own plan) rather
> > than just having 1 single overall plan for the whole thing. Having 1
> > overall plan means that if one fork skips a test and the other does an
> > extra test you won't notice.
> >
> > Given that x.x.x.x currently causes an error for TAP, changing the
> > protocol to allow it would not break anything.
>
> But you see, it does make a change in (or an addition to) the protocol
> necessary afterall since it currently doesn't work as you said yourself.

No change is required in TAP to suport "numbers" that begin with a "."
because TAP interprets them as names not numbers. (TAP protocol says
that test numbers are optional).

Forget my comments about altering TAP, that was wishlist stuff and
should not be confused with my suggestion for the current problem.

> No matter what you do, you either have to change Test::Harness or the
> module generating the TAP output. Or even both as in your case.

No.

> I think
> any conceivable solution will have its ugly points. It's now a matter of
> finding a simple and robust approach and put it in.

Anything that attempts to synchronise across processes is harder to
make robust and less likely to be simple.

F

>
> Cheers,
> Tassilo
> --
> use bigint;
> $n=71423350343770280161397026330337371139054411854220053437565440;
> $m=-8,;;$_=$n&(0xff)<<$m,,$_>>=$m,,print+chr,,while(($m+=8)<=200);
>
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe