* David Roundy:

>> Good point.  No, not quite.  I don't know how to handle that yet.  I
>> can't call ok & friends because that would bump the test counter.  I'm
>> not aware of an interface which allows to flag the current test as
>> failing.
>> 
>> Shall I ask some Perl folks and submit an updated patch if there's a
>> reasonable solution?
>
> Sure.  I don't mind bumping the test counter.  We use ok to do things like
> verify that rm_rf works on the directories when we're finished with them,
> so I don't think the test counter is really particularly useful.

It turned out darcs doesn't use test planning.  Even if it's added
later, I only bump the test counter on failure, so it should be
non-invasive.  I've tested that the unmodified resolve (sic) test case
fails deterministically after the test suite patch has been applied.

The updated patches can be pulled from:

  <http://darcs.enyo.de/fw/darcs/stable-changes/>

Regarding the Perl 5.6.1 dependency: I don't think it's a problem.
The test suite already uses the qr// regexp-as-first-class-object
feature, which doesn't exist prior to Perl 5.6.

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to