| 39 | |
| 40 | = Testing subset of functions = |
| 41 | A companion to the full postgis_gardentest.sql.xsl is the postgis_gardentest_subset.sql.xsl. |
| 42 | This version skips the table creation battery of tests and allows you to specify a subset of functions to test. |
| 43 | |
| 44 | It will only test functions whose ids are contains in the fninclude flag. |
| 45 | |
| 46 | |
| 47 | {{{ |
| 48 | xsltproc -o torturetest_subset.sql trunk/doc/xsl/postgis_gardentest_subset.sql.xsl trunk/doc/reference.xml |
| 49 | psql -p 5432 -U postgres -d postgres -c "CREATE DATABASE testpostgis;" |
| 50 | psql -p 5432 -U postgres -d testpostgis -f postgis.sql |
| 51 | psql -p 5432 -U postgres -d testpostgis -f geography.sql |
| 52 | psql -p 5432 -U postgres -d testpostgis -f spatial_ref_sys.sql |
| 53 | psql -p 5432 -U postgres -d testpostgis -f torturetest_subset.sql > torturetest_results.txt |
| 54 | psql -p 5432 -U postgres -d postgres -c "DROP DATABASE testpostgis;" |
| 55 | |
| 56 | }}} |