Running the tests
Bernhard Reiter
bernhard at intevation.de
Tue Jun 3 11:14:14 CEST 2008
On Tuesday 03 June 2008 01:33, Anthony Lenton wrote:
> >> Those needing gdalwarp were skipped until I realised that I needed to
> >> compile the extensions, and the ones needing postgis needed a bit of a
> >> help to figure out where the postgis SQL file was (find_postgis_sql
> >> wasn't figuring out my Ubuntu Hardy installation).
> >
> > If you have a suggestion how to improve the documentation
> > to make this easier for others, please let me know.
>
> I guess it has to do with how I set out to run the tests, trying to
> run the main test suite before compiling the extensions.
> I couldn't come up with anything great, but if the test shows the
> failed gdal_support_status it helps a bit, though it might be overly
> verbose (gdal_support_status doesn't currently give hints about how to
> fix the actual problem, but it could):
> if not Thuban.Model.resource.has_gdal_support():
> - raise support.SkipTest("No gdal support")
> + raise
> support.SkipTest(Thuban.Model.resource.gdal_support_status)
Yes, I believe this is an improvement.
Committed as Revision 2843.
Thanks!
-------------- 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/20080603/5d795088/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)