Re: [RPM] and regression tests

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Marvin Solomon <solomon(at)conceptshopping(dot)com>, pgsql-ports(at)postgresql(dot)org
Subject: Re: [RPM] and regression tests
Date: 2002-07-02 15:25:10
Message-ID: 200207021125.10785.lamar.owen@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2002-07-03 00:53:23 Comparison of OSX and other platforms
Previous Message Bruce Momjian 2002-07-02 15:21:34 Re: compile error