Re: [RPM] and regression tests

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: [RPM] and regression tests
Дата
Msg-id 200207021125.10785.lamar.owen@wgcr.org
обсуждение исходный текст
Ответ на [RPM] and regression tests  (Marvin Solomon <solomon@conceptshopping.com>)
Список pgsql-ports
On Monday 01 July 2002 09:38 am, Marvin Solomon wrote:
> http://www.ca.postgresql.org/ftpsite/binary/v7.2/RPMS/README.rpm-dist says
> to run regression tests by

>   cd /usr/lib/pgsql/test/regress
>   ./pg_regress.sh --schedule=parallel_schedule

> but this directory does not exist.  SFAICT, the regression tests are only
> in the source rpm.

Red Hat decided not to ship the postgresql-test subpackage.  Rebuilding from
the source RPM with the line:
rpm --rebuild --define 'test 1' postgresql.src.rpm
will build the whole shooting match over.

That was Red Hat's decision, not mine.  You can of course grab the PGDG binary
RPM's from ftp.postgresql.org -- although they are built for Red Hat 7.3, not
7.2.

Note also that several tests will fail in their default state when run as
stated.  You will need to investigate the regress.diff in order to determine
why -- locale setting is the biggest offender on 7.2.  A failing regression
test doesn't necessarily indicate a broken installation -- it indicates a
difference in what was expected to be output by the test queries and the
actual output of the test queries.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



В списке pgsql-ports по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: compile error
Следующее
От: Bruce Momjian
Дата:
Сообщение: Comparison of OSX and other platforms