mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 00:52:40 +00:00
661e210e05
git-svn-id: http://svn.osgeo.org/postgis/trunk@2139 b70326c6-7e19-0410-871a-916f4a2858ee
36 lines
546 B
Makefile
36 lines
546 B
Makefile
TMPDIR?=/tmp
|
|
|
|
include ../Makefile.config
|
|
|
|
all: test cleanup
|
|
|
|
test: test-common test-index test-lwgeom test-ogc test-lrs test-proj
|
|
|
|
test-lwgeom:
|
|
@./run_test lwgeom_regress
|
|
|
|
test-index:
|
|
@./run_test regress_index
|
|
|
|
test-ogc:
|
|
@if test "$(USE_GEOS)" -eq 0 -a "$(USE_JTS)" -eq 0; then \
|
|
echo "OGC tests skipped (no GEOS/JTS support compiled in)."; \
|
|
else \
|
|
./run_test regress_ogc; \
|
|
fi
|
|
|
|
test-lrs:
|
|
@./run_test regress_lrs
|
|
|
|
test-common:
|
|
@./run_test regress
|
|
|
|
test-proj:
|
|
@./run_test regress_proj
|
|
|
|
|
|
cleanup:
|
|
@sleep 1; dropdb postgis_reg
|
|
|
|
clean:
|