Re: [HACKERS] Regression tests - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] Regression tests
Date
Msg-id 38A0D8D0.CED12079@alumni.caltech.edu
Whole thread Raw
In response to Regression tests  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
Responses Re: [HACKERS] Regression tests
List pgsql-hackers
> Let's say I want to write regression tests to ensure that everything
> related to inheritance works. One test I would want would be to make
> sure pg_dump works for inheritance. What is the preferred way to make
> regression tests which aren't sql?

This has come up just recently, and afaik we don't have a precedence
for it in the current regression tests.

I would advocate having another test fired by the Makefile, to
minimize the number of components which need to be running for the
fundamental tests using psql to work.

"make all" currently *builds* the tests
"make runtest" currently runs the basic tests
"make bigtest" runs the large numeric tests
"make runcheck" runs the parallel tests
...

The basic inheritance tests should be in the basic regression test.
But how about something like "make dumptest"...
                 - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Mark Hollomon
Date:
Subject: plperl droplang patch
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Regression tests