add make check target that aliases make test-local - refs #1618

This commit is contained in:
Dane Springmeyer 2012-12-02 18:30:32 -08:00
parent be05aa5b60
commit 1d114b5e2f

View file

@ -39,13 +39,15 @@ test:
@python tests/run_tests.py -q @python tests/run_tests.py -q
test-local: test-local:
@echo "*** boostrapping local test environment..." @echo "*** Boostrapping local test environment..."
export ${LINK_FIX}=`pwd`/src:${${LINK_FIX}} && \ @export ${LINK_FIX}=`pwd`/src:${${LINK_FIX}} && \
export PYTHONPATH=`pwd`/bindings/python/:${PYTHONPATH} && \ export PYTHONPATH=`pwd`/bindings/python/:${PYTHONPATH} && \
export MAPNIK_FONT_DIRECTORY=`pwd`/fonts/dejavu-fonts-ttf-2.33/ttf/ && \ export MAPNIK_FONT_DIRECTORY=`pwd`/fonts/dejavu-fonts-ttf-2.33/ttf/ && \
export MAPNIK_INPUT_PLUGINS_DIRECTORY=`pwd`/plugins/input/ && \ export MAPNIK_INPUT_PLUGINS_DIRECTORY=`pwd`/plugins/input/ && \
make test make test
check: test-local
demo: demo:
@echo "*** Running rundemo.cpp…" @echo "*** Running rundemo.cpp…"
cd demo/c++; ./rundemo `mapnik-config --prefix`/lib/mapnik cd demo/c++; ./rundemo `mapnik-config --prefix`/lib/mapnik