"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