Changes between Version 1 and Version 2 of DevWikiGardenTest


Ignore:
Timestamp:
09/30/09 04:52:49 (15 years ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiGardenTest

    v1 v2  
    55To build the garden test you need an xsltproc (the same that is used to build the docs or some other .xsl processor).  On windows you can download precompiled binaries from [http://www.zlatkovic.com/pub/libxml/] and its part of the libxslt package.
    66
     7The reference.xml and postgis_gardentest.sql.xsl located in the doc and doc/xsl folders are both needed to build the tests.
    78
     9Below is a basic script to build the tests and run them (if you are running from dos, change the
     10slashes or just run everything from same folder:
     11
     12{{{
     13xsltproc -o torturetest.sql trunk/doc/xsl/postgis_gardentest.sql.xsl trunk/doc/reference.xml
     14psql -p 5432 -U postgres -d postgres -c "CREATE DATABASE testpostgis;"
     15psql -p 5432 -U postgres -d testpostgis -f postgis.sql
     16psql -p 5432 -U postgres -d testpostgis -f geography.sql
     17psql -p 5432 -U postgres -d testpostgis -f spatial_ref_sys.sql
     18psql -p 5432 -U postgres -d testpostgis -f torturetest.sql > torturetest_results.txt
     19psql -p 5432 -U postgres -d postgres -c "DROP DATABASE testpostgis;"
     20
     21}}}
     22