Re: multi-platform, multi-locale regression tests

From: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: multi-platform, multi-locale regression tests
Date: 2010-11-09 22:42:32
Message-ID: AANLkTi=BjJW+E2WaZro2MarDn_B-Vw0zGGLpqgDM_P0m@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2010/11/9 David E. Wheeler <david(at)kineticode(dot)com>:
> On Nov 9, 2010, at 12:18 PM, Peter Eisentraut wrote:
>
>> One possible way out is not to include these tests in the main test set
>> and instead require manual invocation.
>>
>> Better ideas?
>
> I've been talking to Nasby and Dunstan about adding a Test::More/pgTAP-based test suite to the core. It wouldn't run with the usual core suite used by developers, which would continue to use pg_regress. But they could run it if they wanted (and had the prerequisites), and the build farm animals would run them regularly.
>
> The nice thing about using a TAP-based framework is that you can skip tests that don't meet platform requirements, and compare values within the tests, right where you write them, rather than in a separate file. You can also dynamically change how you compare things depending on the environment, such as the locales that vary on different platforms.
>
> Thoughts?

Are you thinking of a contrib module 'pgtap' that we can use to
accomplish the optionnal regression tests ?

--
Cédric Villemain               2ndQuadrant
http://2ndQuadrant.fr/     PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2010-11-09 22:44:36 Re: multi-platform, multi-locale regression tests
Previous Message Robert Haas 2010-11-09 22:41:26 Re: Protecting against unexpected zero-pages: proposal