Re: [RPM] and regression tests - Mailing list pgsql-ports

From Lamar Owen
Subject Re: [RPM] and regression tests
Date
Msg-id 200207021125.10785.lamar.owen@wgcr.org
Whole thread Raw
In response to [RPM] and regression tests  (Marvin Solomon <solomon@conceptshopping.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: compile error
Next
From: Bruce Momjian
Date:
Subject: Comparison of OSX and other platforms