[Thuban-commits] r2714 - in trunk/thuban: . test

Bernhard Herzog bh at intevation.de
Mon Nov 6 11:29:09 CET 2006


scm-commit at wald.intevation.org writes:

> ===================================================================
> --- trunk/thuban/test/postgissupport.py	2006-10-26 16:37:42 UTC (rev 2713)
> +++ trunk/thuban/test/postgissupport.py	2006-11-06 10:09:14 UTC (rev 2714)
[...]
> +_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.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)