Re: regression test failure - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: regression test failure
Date
Msg-id Pine.LNX.4.44.0208132141140.9559-100000@localhost.localdomain
Whole thread Raw
In response to Re: regression test failure  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: regression test failure
List pgsql-hackers
Tatsuo Ishii writes:

> The $libdir variable is defined at the compile time and it points to
> $prefix/lib. Apparently it points to different place while doing
> regression tests. One idea is replacing $lindir with the absolute path
> to $prefix/lib. However I wonder this would break some installations,
> for example RPM.

You can replace the string '$libdir' in the conversions_create.sql file
with an absolute directory name during the standalone regression test run.
This could be done in the regression test driver, where the correct path
is available as $pkglibdir.  Other, less messy solutions don't occur to me
offhand.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: db partial dumping with pg_dump
Next
From: Peter Eisentraut
Date:
Subject: Re: Is contrib/rserv/Makefile broken?