Running the tests
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
Yes, I believe this is an improvement.
Committed as Revision 2843.
-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname : nicht verf?gbar
Dateityp : application/pgp-signature
Dateigr??e : 189 bytes
Beschreibung: nicht verf?gbar
URL : http://www.intevation.de/pipermail/thuban-devel/attachments/20080603/5d795088/attachment.bin
More information about the Thuban-devel