[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn commit: r1648853 - in /subversion/trunk/subversion/bindings/swig/perl/native: Client.pm Repos.pm t/1repos.t t/3client.t

From: Bert Huijben <bert_at_qqmail.nl>
Date: Thu, 1 Jan 2015 19:00:27 +0100

> -----Original Message-----
> From: rschupp_at_apache.org [mailto:rschupp_at_apache.org]
> Sent: donderdag 1 januari 2015 16:27
> To: commits_at_subversion.apache.org
> Subject: svn commit: r1648853 - in
> /subversion/trunk/subversion/bindings/swig/perl/native: Client.pm Repos.pm
> t/1repos.t t/3client.t
>
> Author: rschupp
> Date: Thu Jan 1 15:27:22 2015
> New Revision: 1648853
>
> URL: http://svn.apache.org/r1648853
> Log:
> Perl bindings: document cancel callbacks and add some tests.
>
> [in subversion/bindings/swig/perl/native]
>
> * Client.pm: Move POD paragraphs about cancel calbacks into their own
> chapter so that we can refer to them from other PODs.
> Also fix the cancel arguments in an example.
>
> * Repos.pm: Document cancel callbacks for dump_fs() and dump_fs2().
>
> * t/1repos.t, t/3client.t: Add some tests for cancel callbacks.

This test fails on many buildbots with:

# Failed test 'operation was cancelled'
# at t\3client.t line 1146.
# got: 'traced call'
# expected: 'stop the presses'
# cleanup
# Looks like you failed 1 test of 301.

(From: http://ci.apache.org/builders/svn-windows-ra/builds/833/steps/Test%20Bindings/logs/stdio , see http://subversion.apache.org/buildbot/prod )

It looks like this test needs a bit of fixup before it supports running the tests in debug mode.

In most cases it is easier to test for the error code than for the text. (The error text of our API calls is localized)

        Bert
Received on 2015-01-01 19:01:04 CET

This is an archived mail posted to the Subversion Dev mailing list.