Re: [HACKERS] Regression tests...
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Regression tests... |
| Дата | |
| Msg-id | 262.949989974@sss.pgh.pa.us обсуждение |
| Ответ на | Regression tests... (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>) |
| Ответы |
Re: [HACKERS] Regression tests...
|
| Список | pgsql-hackers |
Chris Bitmead <chrisb@nimrod.itg.telstra.com.au> writes:
> Is there a step-by-step guide somewhere that tells me how to add a new
> regression test? I've had a bit of a hunt around, and exactly what to do
> to add a test isn't clear.
There's not that much to it, assuming you don't need any platform-
specific variations in the expected output. You make a script under
regress/sql/, add its name in an appropriate place in
sql/run_check.tests, run it, and drop the results file into expected/
(hopefully after manual verification ;-))
BTW, am I right in thinking that sql/tests is now dead code? If so,
we should flush it, or more likely rename run_check.tests to just tests.
Jan?
regards, tom lane
В списке pgsql-hackers по дате отправления: