]> granicus.if.org Git - postgis/commitdiff
Install topology comments too, when regressing topology
authorSandro Santilli <strk@keybit.net>
Mon, 13 Feb 2012 20:44:40 +0000 (20:44 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 13 Feb 2012 20:44:40 +0000 (20:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9178 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test

index 3e3e281619db15330cab451c254080c55e6f581b..d3417851a8102b1d59cd291b34cf16d6373ef247 100755 (executable)
@@ -684,6 +684,9 @@ if test -z "$db_exists"; then
                                echo "${SCRIPT} not found" >&2
                                exit 1
                        fi
+                       if test -e ${STAGED_SCRIPTS_DIR}/topology_comments.sql; then
+                               ${PSQL} ${_psql_opts} -Xf ${STAGED_SCRIPTS_DIR}/topology_comments.sql "${DB}" >> ${TMPDIR}/regress_log 2>&1 || init_db_error "topology comments"
+                       fi
                fi
                if test x"$OPT_WITH_RASTER" = "xyes"; then
                        SCRIPT=${STAGED_SCRIPTS_DIR}/rtpostgis.sql