Re: multi-platform, multi-locale regression tests

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <david(at)kineticode(dot)com>
Cc: <markus(at)bluegap(dot)ch>,<peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: multi-platform, multi-locale regression tests
Date: 2010-11-12 20:39:07
Message-ID: 4CDD518B02000025000376DD@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" wrote:
> On Nov 12, 2010, at 6:28 AM, Kevin Grittner wrote:

>> I'll switch to TapReporter.
>
> Oh, that would be great, because I can then have the TAP stuff I
> plan to add just run your tests and harness the results along with
> everything else.

I switched it with this patch:

http://git.postgresql.org/gitweb?p=users/kgrittn/postgres.git;a=commitdiff;h=da7932fd5d71a64e1a2ebba598dfe6874c978d2d

I have a couple questions:

(1) Any idea why it finds the success of the tests unexpected?:

# ri-trigger: test started
['wxry1', 'c1', 'r2', 'wyrx2', 'c2'] committed
['wxry1', 'r2', 'c1', 'wyrx2', 'c2'] rolled back
['wxry1', 'r2', 'wyrx2', 'c1', 'c2'] rolled back
['wxry1', 'r2', 'wyrx2', 'c2', 'c1'] rolled back
['r2', 'wxry1', 'c1', 'wyrx2', 'c2'] rolled back
['r2', 'wxry1', 'wyrx2', 'c1', 'c2'] rolled back
['r2', 'wxry1', 'wyrx2', 'c2', 'c1'] rolled back
['r2', 'wyrx2', 'wxry1', 'c1', 'c2'] rolled back
['r2', 'wyrx2', 'wxry1', 'c2', 'c1'] rolled back
['r2', 'wyrx2', 'c2', 'wxry1', 'c1'] committed
rollback required: 8 / 8
commit required: 2 / 2
commit preferred: 0 / 0
ok 3 - ri-trigger (UNEXPECTED)

(2) If I wanted something to show in the TAP output, like the three
counts at the end of the test, what's the right way to do that? (I
suspect that printing with a '#' character at the front of the line
would do it, but that's probably not the proper way...)

-Kevin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-11-12 20:43:52 Re: wCTE behaviour
Previous Message Dimitri Fontaine 2010-11-12 20:27:43 Re: Refactoring the Type System