Changes between Version 18 and Version 19 of DevWikiGardenTest
- Timestamp:
- 11/20/09 19:04:44 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiGardenTest
v18 v19 9 9 NOTE 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. 10 10 11 Below is a basic script to build the tests and run them (if you are running from dos, change the 11 To Build the script 12 == Version PostGIS 1.4 == 13 14 {{{ 15 xsltproc -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+ == 19 There is an unfortunate dependency on postgis_agg_mm.xml which is really not needed 20 just create a dummy blank file called postgis_agg_mm.xml in the trunk/doc to get around this 21 Then: 22 {{{ 23 xsltproc -o torturetest.sql trunk/doc/xsl/postgis_gardentest.sql.xsl trunk/doc/postgis.xml 24 }}} 25 26 Below is a basic script to test tests and run them (if you are running from dos, change the 12 27 slashes or just run everything from same folder: 13 28 14 29 {{{ 15 xsltproc -o torturetest.sql trunk/doc/xsl/postgis_gardentest.sql.xsl trunk/doc/reference.xml16 30 psql -p 5432 -U postgres -d postgres -c "CREATE DATABASE testpostgis;" 17 31 psql -p 5432 -U postgres -d testpostgis -c "CREATE LANGUAGE plpgsql;"