Re: making the testsuite installable - Mailing list pgsql-odbc

From Pavel Raiskup
Subject Re: making the testsuite installable
Date
Msg-id 2989734.nLtBF3qSZg@nb.usersys.redhat.com
Whole thread Raw
In response to Re: making the testsuite installable  (Christoph Berg <cb@df7cb.de>)
List pgsql-odbc
On Tuesday 18 of November 2014 10:29:29 Christoph Berg wrote:
> Re: Pavel Raiskup 2014-11-18 <13115650.4ECf6iphU0@nb.usersys.redhat.com>
> > It would be really nice to have the testsuite installed with 'make
> > install'.  That would allow us to package the testsuite as separated
> > (sub)package and distribute it to end-users (who should be able to have
> > enough privileges).  It would also allow me to write privileged scripts
> > for downstream testing.
>
> The Debian package uses a temporary cluster created by the buildd user
> to run the tests:
> http://anonscm.debian.org/cgit/pkg-postgresql/psqlodbc.git/tree/debian/tests/buildtime
>
> pg_virtualenv is at
> https://alioth.debian.org/scm/loggerhead/pkg-postgresql/postgresql-common/trunk/view/head:/pg_virtualenv
>
> > Would you be interested in patches implementing this? ..
> > * adding option ./configure --enable-dist-tests (default off)
> > * make tests sub-directory autoreconfed
>
> We have some troubles here too because we are building out-of-tree,
> while the testsuite is run in tree, but so far this worked:

Thanks a lot for the links, Christoph.  I think about something similar,
though making the upstream distribution tarball more friendly could make
it lot easier.  Especially for end-user testing.

Pavel



pgsql-odbc by date:

Previous
From: Christoph Berg
Date:
Subject: Re: making the testsuite installable
Next
From: Pavel Raiskup
Date:
Subject: Re: [ANNOUNCE] psqlODBC 09.03.0300 Released