| 9 | Below is a basic script to build the tests and run them (if you are running from dos, change the |
| 10 | slashes or just run everything from same folder: |
| 11 | |
| 12 | {{{ |
| 13 | xsltproc -o torturetest.sql trunk/doc/xsl/postgis_gardentest.sql.xsl trunk/doc/reference.xml |
| 14 | psql -p 5432 -U postgres -d postgres -c "CREATE DATABASE testpostgis;" |
| 15 | psql -p 5432 -U postgres -d testpostgis -f postgis.sql |
| 16 | psql -p 5432 -U postgres -d testpostgis -f geography.sql |
| 17 | psql -p 5432 -U postgres -d testpostgis -f spatial_ref_sys.sql |
| 18 | psql -p 5432 -U postgres -d testpostgis -f torturetest.sql > torturetest_results.txt |
| 19 | psql -p 5432 -U postgres -d postgres -c "DROP DATABASE testpostgis;" |
| 20 | |
| 21 | }}} |
| 22 | |