]> granicus.if.org Git - postgis/commitdiff
Initial revision
authorSandro Santilli <strk@keybit.net>
Sun, 5 Dec 2004 11:46:30 +0000 (11:46 +0000)
committerSandro Santilli <strk@keybit.net>
Sun, 5 Dec 2004 11:46:30 +0000 (11:46 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1126 b70326c6-7e19-0410-871a-916f4a2858ee

examples/ogc_test_suite/.cvsignore [new file with mode: 0644]
examples/ogc_test_suite/Makefile [new file with mode: 0644]

diff --git a/examples/ogc_test_suite/.cvsignore b/examples/ogc_test_suite/.cvsignore
new file mode 100644 (file)
index 0000000..2c4b741
--- /dev/null
@@ -0,0 +1,2 @@
+1_output.txt
+2_output.txt
diff --git a/examples/ogc_test_suite/Makefile b/examples/ogc_test_suite/Makefile
new file mode 100644 (file)
index 0000000..8ce9d33
--- /dev/null
@@ -0,0 +1,15 @@
+TESTDB=ogc_test_suite
+all:
+       createdb $(TESTDB) > /dev/null
+       createlang plpgsql $(TESTDB)
+       psql $(TESTDB) < ../../lwpostgis.sql >/dev/null 2>&1
+       psql -a -f 1_schema.sql $(TESTDB) > 1_output.txt 2>&1
+       psql -a -f 2_queries.sql $(TESTDB) > 2_output.txt 2>&1
+       @echo "---------------------------------------"
+       @echo "---* Check results in 2_output.txt *---"
+       @echo "---------------------------------------"
+       
+clean:
+       dropdb $(TESTDB)
+       rm -f 1_output.txt
+       rm -f 2_output.txt