add make check target that aliases make test-local - refs #1618
This commit is contained in:
parent
be05aa5b60
commit
1d114b5e2f
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue