Changes between Version 18 and Version 19 of DevWikiGardenTest


Ignore:
Timestamp:
Nov 20, 2009, 7:04:44 PM (14 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiGardenTest

    v18 v19  
    99NOTE that these tests are equivalent to a monkey testing the software so a lot of tests fail. Its good in a sense as a monkey will stuff a geometry in any function that takes that and as such will test the system as human monkeys are bound to do.
    1010
    11 Below is a basic script to build the tests and run them (if you are running from dos, change the
     11To Build the script
     12== Version PostGIS 1.4 ==
     13
     14{{{
     15xsltproc -o torturetest14.sql branches/1.4/doc/xsl/postgis_gardentest.sql.xsl branches/1.4/doc/reference.xml
     16}}}
     17
     18== Version PostGIS 1.5+ ==
     19There is an unfortunate dependency on postgis_agg_mm.xml which is really not needed
     20just create a dummy blank file called postgis_agg_mm.xml in the trunk/doc to get around this
     21Then:
     22{{{
     23xsltproc -o torturetest.sql trunk/doc/xsl/postgis_gardentest.sql.xsl trunk/doc/postgis.xml
     24}}}
     25
     26Below is a basic script to test tests and run them (if you are running from dos, change the
    1227slashes or just run everything from same folder:
    1328
    1429{{{
    15 xsltproc -o torturetest.sql trunk/doc/xsl/postgis_gardentest.sql.xsl trunk/doc/reference.xml
    1630psql -p 5432 -U postgres -d postgres -c "CREATE DATABASE testpostgis;"
    1731psql -p 5432 -U postgres -d testpostgis -c "CREATE LANGUAGE plpgsql;"