Re: multi-platform, multi-locale regression tests - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: multi-platform, multi-locale regression tests
Date
Msg-id 4CDCFAAB0200002500037698@gw.wicourts.gov
Whole thread Raw
In response to multi-platform, multi-locale regression tests  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: multi-platform, multi-locale regression tests
List pgsql-hackers
Markus Wanner  wrote:
> Well, there are three kinds of reporters: StreamReporter,
> TapReporter and CursesReporter. By default, either curser or stream
> is chosen, depending on whether or not dtester thinks its stdout is
> a terminal or not.
> The CursesReporter moves up and down the lines to write results to
> concurrently running tests. It's only useful on a terminal and
> certainly gets confused by anything that moves the cursor (which a
> plain 'print' certainly does).
Ah, well that explains some problems I've had with getting my output
to behave quite like I wanted!  Thanks for that summary!  I'm pretty
sure I've been getting the CursesReporter; I'll switch to
TapReporter.
> The best solution would probably be to allow the reporters to write
> out comment lines. (However, due to the ability of running tests
> concurrently, these comment lines could only be appended at the
> end, without clear visual connection to a specific test. As long as
> you are only running on test at a time, that certainly doesn't
> matter).
Not sure what the best answer is for Curses -- would it make any
sense to output a disk file with one of the other formats in addition
to the screen, and direct detail to the file?  Perhaps a separate
file for each test, to make it easy to keep comments associated with
the test?  (Just brainstorming here.)
-Kevin


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: We need index-only scans
Next
From: Andrew Dunstan
Date:
Subject: Re: We need index-only scans