[Thuban-commits] r2714 - in trunk/thuban: . test
Bernhard Reiter
bernhard at intevation.de
Thu Nov 9 11:25:11 CET 2006
On Monday 06 November 2006 11:29, Bernhard Herzog wrote:
> > +_pg_ctl_command = "pg_ctl"
> > +_initdb_command = "initdb"
> > +# Example Values for Debian (upcomind Etch) postgresql-8.1
> > +# TODO: detect which values to use here.
> > +#_pg_ctl_command = "/usr/lib/postgresql/8.1/bin/pg_ctl"
> > +#_initdb_command = "/usr/lib/postgresql/8.1/bin/initdb"
>
> Wouldn't it be easier to simply add /usr/lib/postgresql/8.1/bin/ to PATH
> when running the testsuite on etch? The testsuite could perhaps detect
> that initdb or pg_ctl are not in PATH and then skip the tests.
I like the idea,
one drawback that came into my mind is that
we need to find the corresponding lwpostgis.sql file.
In the case of several installed postgresql and possibly postgis versions,
we would need to find the corresponding one.
Given those values on the command line misses some comfort.
A command line would look like:
E.g. python runtests.py --pgpath=/usr/lib/postgresql/8.1/bin/
--postgissql=/usr/share/postgresql-8.1-postgis/lwpostgis.sq
Would work.
Hmm I two possible ideas:
a) add a configuration files for test
b) additionally print out the parameters for the testrun in the results.
This is also the place we could add the used seek, if we do pseudo random
processes,
like shuffling the tests.
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20061109/93dce885/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)